Re: locking structures in the kernel

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Fri, 1 Oct 1999 16:32:36 +0200


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/