Re: DRM lock ordering fix series

From: Andi Kleen
Date: Fri Mar 27 2009 - 05:35:49 EST


Eric Anholt <eric@xxxxxxxxxx> writes:

> Here's hopefully the final attempt at the lock ordering fix for GEM. The
> problem was introduced in .29 with the GTT mapping support. We hashed out
> a few potential fixes on the mailing list and at OSTS. Peter's plan was
> to use get_user_pages, but it has significant CPU overhead (10% cost to text
> rendering, though part of that is due to some dumb userland code. But it's
> dumb userland code we're all running).


You are aware that there is a fast path now (get_user_pages_fast) which
is significantly faster? (but has some limitations)

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/