Re: [PATCH v2] x86: add might_sleep() to do_page_fault()

From: Ingo Molnar
Date: Thu Jan 29 2009 - 10:04:39 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

>
> > should go into the 'else' branch i guess? In the down_read() case we
> > already had the check.
>
> True.
>
> ---
> VirtualBox calls do_page_fault() from an atomic context but runs into a
> might_sleep() way pas this point, cure that.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> ---
> arch/x86/mm/fault.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)

Applied to tip/x86/mm, thanks Peter!

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