Re: [PATCH] enable interrupts in user path of page fault.

From: Linus Torvalds
Date: Thu Jun 07 2007 - 22:30:36 EST




On Thu, 7 Jun 2007, Steven Rostedt wrote:
>
> I didn't realize that userspace was allowed to run with interrupts
> disabled.

It isn't, normally. You *can* try to do it by using iopl(), but it's not
practical. It's certainly not practical to expect a page fault to not
enable them again, since we obviously need interrupts enabled just to
handle any IO.

So don't worry about it.

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