Query: __lock_page
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
__LOCK_PAGE(9) Memory Management in Linux __LOCK_PAGE(9)NAME__lock_page - get a lock on the page, assuming we need to sleep to get itSYNOPSISvoid __lock_page(struct page * page);ARGUMENTSpage the page to lockDESCRIPTIONUgly. Running sync_page in state TASK_UNINTERRUPTIBLE is scary. If some random driver's requestfn sets TASK_RUNNING, we could busywait. However chances are that on the second loop, the block layer's plug list is empty, so sync_page will then return in state TASK_UNINTERRUPTIBLE.COPYRIGHTKernel Hackers Manual 2.6. July 2010 __LOCK_PAGE(9)
Related Man Pages |
---|
schedule_hrtimeout_range(9) - centos |
vm_map_lookup_done(9) - debian |
journal_try_to_free_buffers(9) - suse |
vm_map_lookup(9) - freebsd |
vm_map_lookup(9) - linux |
Similar Topics in the Unix Linux Community |
---|
Web server for dansguardian |
A system hang issue in porting an old fs to kernel 2.6.32.* |