]> err.no Git - linux-2.6/commit
epoll locks changes and cleanups
authorDavide Libenzi <davidel@xmailserver.org>
Tue, 15 May 2007 08:40:47 +0000 (01:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 15 May 2007 15:53:59 +0000 (08:53 -0700)
commitc7ea76302547f81e4583d0d7c52a1c37c6747f5d
tree96dc2002a93a99cd3d43f1c1ca0e825a95f6448d
parentd47de16c7221968d3eab899d7540efa5ba77af5a
epoll locks changes and cleanups

Changes the rwlock to a spinlock, and drops the use-count variable.
Operations are always bound by the mutex now, so the use-count is no more
needed.  For the same reason, the rwlock can become a simple spinlock.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/eventpoll.c