Le Fri, 7 Dec 2007 19:58:26 +0530,
"Adil Mujeeb" <[EMAIL PROTECTED]> a écrit :
> void fastcall __lock_page(struct page *page)
>
> {
>
> DEFINE_WAIT_BIT(wait, &page->flags, PG_locked);
>
> __wait_on_bit_lock(page_waitqueue(page), &wait, sync_page,
> TASK_UNINTERRUPTIBLE);
>
> }
Hi All,
In Oreilly book "Understanding Linux kernel", following text written under
section "15.1.3.1. Finding a page":
"The lock_page( ) function, in turn, blocks the current process if the page
is already locked. To that end, it invokes the _ _wait_on_bit_lock( )
function on the PG_locked bi