Re: SCHED_IDLE patch is a source of DoS

Paul Barton-Davis (pbd@Op.Net)
Mon, 9 Nov 1998 10:29:29 -0500


I just wanted to add that I'm aware of the widespread use of
semaphores in fs, net, ipc and many drivers.

For comparison, try:

find /usr/src/kernel -name "*.c" | xargs grep '[^a-z_]down[ \t]('

and

find /usr/src/kernel -name "*.c" | xargs grep 'spin_lock[ \t]*('

and then tell me which of the two sets of locking protocols you think
would be reasonably assumed be referred by "lock()" and "unlock()" in
generic pseudo-code.

--p

-
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/