Re: [PATCH 0/9] user_mode_vm removal and associated cleanups

From: Ingo Molnar
Date: Thu Mar 19 2015 - 02:33:21 EST

* Andy Lutomirski <luto@xxxxxxxxxx> wrote:

> Hi all-
> The user_mode vs user_mode_vm distinction scares me. Let's fix it.
> This series adds user_mode_ignore_vm86, makes user_mode reliable,
> and removes user_mode_vm. It also tidies up a couple warts I found
> along the way.
> This survives basic testing, but I haven't tried that hard to test it.
> Thoughts?
> Ingo, this may conflict a bit with the do_debug and do_bounds fixes.

I like it, in fact I'd suggest we remove user_mode_ignore_vm86()
altogether, as it's such a marginal optimization, it only affects
x86-32 kernels, and because we keep getting this wrong.

Keep a single, simple user_mode() definition.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at