summaryrefslogtreecommitdiff
path: root/include/linux/buffer_head.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-14 05:42:25 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-14 05:42:25 -0700
commit08aaf1cc54e61c4357828f7d029f9446144d0cc7 (patch)
tree3d6cc9717fd51b250ebf5da8424e2635e2a08a5f /include/linux/buffer_head.h
parent2afafa3b9804e7a8a515c528270121c5349dbf53 (diff)
[PATCH] filtered wakeups: apply to pagecache functions
From: William Lee Irwin III <wli@holomorphy.com> This patch implements wake-one semantics for page wakeups in a single step. Discrimination between distinct pages is achieved by passing the page to the wakeup function, which compares it to a pointer in its own on-stack structure containing the waitqueue element and the page. Bit discrimination is achieved by storing the bit number in that same structure and testing the bit in the wakeup function. Wake-one semantics are achieved by using WQ_FLAG_EXCLUSIVE in the codepaths waiting to acquire the bit for mutual exclusion.
Diffstat (limited to 'include/linux/buffer_head.h')
0 files changed, 0 insertions, 0 deletions