suse man page for unlock_page

Query: unlock_page

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNLOCK_PAGE(9)						    Memory Management in Linux						    UNLOCK_PAGE(9)

NAME
unlock_page - unlock a locked page
SYNOPSIS
void unlock_page(struct page * page);
ARGUMENTS
page the page
DESCRIPTION
Unlocks the page and wakes up sleepers in ___wait_on_page_locked. Also wakes sleepers in wait_on_page_writeback because the wakeup mechananism between PageLocked pages and PageWriteback pages is shared. But that's OK - sleepers in wait_on_page_writeback just go back to sleep. The mb is necessary to enforce ordering between the clear_bit and the read of the waitqueue (to avoid SMP races with a parallel wait_on_page_locked).
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 UNLOCK_PAGE(9)
Related Man Pages
aghermann(1) - debian
wakeup(9r) - osf1
ddi_umem_lock(9f) - sunos
ddi_umem_lock(9f) - suse
ddi_umem_unlock(9f) - suse
Similar Topics in the Unix Linux Community
A system hang issue in porting an old fs to kernel 2.6.32.*