lkml.org 
[lkml]   [1999]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: spin_trylock broken on UP?
> I'm a little puzzled by the uniprocessor code for spinlocks in
> include/asm-i386/spinlock.h. Parsing through the DEBUG_SPINLOCK
> business, I see that default is to make all the spinlock operations
> total NOPs. I expect that with DEBUG_SPINLOCK = 0, my code is totally
> broken. It is OK with DEBUG_SPINLOCK is 1.

You mean 'include/linux/spinlock.h'. I've been wondering about this
lately
as well. Anybody with an explaination please CC me as well.

Brad Proctor

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.136 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site