Re: 2.6.6-rc3-mm2

From: Oleg Nesterov
Date: Wed May 05 2004 - 07:16:58 EST


Hello.

> This way only waiters must be modified, and we can use
> page_waitqueue(page) for nonfiltered wait too.

also, exclusive wakeups have no problems, and process
waiting in wait_on_page_writeback() won't be waken
by unlock_page(). it will be waken _only_ when that
bit will be cleared.

> +wake-one-pg_locked-bh_lock-semantics.patch
>
> +static void *page_key(struct page *page, unsigned long bit)
> +{
> + return (void *)(page_to_pfn(page) | bit << PAGE_KEY_SHIFT);
> }

become unneeded as well.

Oleg.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/