lock_page() uses semaphores/kthreads
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 29 Oct 2010 21:07:11 +0000 (14:07 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:56 +0000 (17:35 -0700)
commit4caed3ff35fee92689d2134241084b67bf9888b5
tree435eaa8969dfbb40ad0a49854b7d3e873e9f9e74
parentdde944edcf1c82198fb8d3d56e3983d7eef95f78
lock_page() uses semaphores/kthreads

This isn't heavily tested - it requires two processes/kthreads to be
trying to readpage() on the same file page.
kern/include/page_alloc.h
kern/src/blockdev.c
kern/src/page_alloc.c
kern/src/pagemap.c