[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: physical memory addresses & memory locking...
From: "Ron G. Minnich" <rminnich () Sarnoff ! COM>
Date: 1996-06-29 1:40:52
[Download RAW message or body]
I have a simple lock LKM which in essence allows processes to
1) test a lock
2) drop into kernel sleep() if it's set
3) if it's not set, lock it using pentium cswap
4) when clearing it, if there was contention, syscall that does
a wakeup()
it's very efficient, much more so than sysv semaphores.
If you want it let me know. It's called fastlock.
ron
Ron Minnich |"Inferno runs on MIPS ..., Intel ..., and AMD's
rminnich@sarnoff.com |29-kilobit-per-second chip-based architectures ..."
(609)-734-3120 | Comm. week, may 13, pg. 4.
ftp://ftp.sarnoff.com/pub/mnfs/www/docs/cluster.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic