Re: [PATCH] Lightweight userspace semaphores...

Larry McVoy (lm@bitmover.com)
Sat, 23 Feb 2002 10:28:05 -0800


> Also, one thing possibly worth looking into is to just put the actual
> semaphore contents into a regular file backed setup.
>
> Linus

Exactly. SMP gives you coherent memory and test-and-set or some other
atomic operation. Why not use it?

-- 
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/