Re: [patch] 'virtual => physical page mapping cache', vcache-2.5.38-B8

Ingo Molnar (mingo@elte.hu)
Fri, 27 Sep 2002 19:42:33 +0200 (CEST)


i'd love to do this, but:

> spin_lock(&futex_lock);
>
> > q.page = NULL;
> > attach_vcache(&q.vcache, uaddr, current->mm, futex_vcache_callback);
> >
> > page = pin_page(uaddr - offset);

[ LOCKUP ]

pin_page() calls get_user_pages(), which might block in handle_mm_fault().

Ingo

-
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/