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/