Replacing alpha semaphores with beta semaphores should be pretty simple.
The only functions needed are:

b_owns_sema
b_psema
b_vsema

In fact, it makes the implementation a lot simpler by getting rid of the
hash tables. OpenAFS already uses beta semaphores in Rx.

I found this doc that talks about beta semaphores and sleep/wakeup
synchronization.

http://atwnt911.external.hp.com/dspp/files/unprotected/Drivers/Docs/Refs/ddGuide/Chap04.pdf

Srikanth.

Reply via email to