Messages in this thread | | | Date | Sat, 22 Jan 2011 12:31:16 +1100 | Subject | Re: [PATCH 05/10] block: remove per-queue plugging | From | Nick Piggin <> |
| |
On Sat, Jan 22, 2011 at 12:17 PM, Jens Axboe <jaxboe@fusionio.com> wrote:
> -/** > - * __lock_page_nosync - get a lock on the page, without calling sync_page() > - * @page: the page to lock > - * > - * Variant of lock_page that does not require the caller to hold a reference > - * on the page's mapping. > - */ > -void __lock_page_nosync(struct page *page) > -{ > - DEFINE_WAIT_BIT(wait, &page->flags, PG_locked); > - __wait_on_bit_lock(page_waitqueue(page), &wait, __sleep_on_page_lock, > - TASK_UNINTERRUPTIBLE); > -}
RIP to this guy, won't be missed :)
Nice work. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |