lkml.org 
[lkml]   [1999]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: locking structures in the kernel
On Fri, Oct 01, 1999 at 10:32:23AM -0400, Richard Guy Briggs wrote:
> Now, in retrocomputing, what do I use in 2.0.38? I am supporting code
> with compiler directives to support 3 major kernel versions. There is
> no text in the 'Documentation' directory, except for file locks. I
> have found include/asm/locks.h and include/asm/semaphore.h and am
> looking for examples in the code.

You basically don't need to worry for 2.0.38. In 2.0, there is only the
big kernel lock, so only one processor may be in the kernel at a time.

--
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

-
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:54    [W:0.124 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site