original_kernel/arch/i386
Steven Rostedt e5e3c84b70 enable interrupts in user path of page fault.
This is a minor fix, but what is currently there is essentially wrong.
In do_page_fault, if the faulting address from user code happens to be
in kernel address space (int *p = (int*)-1; p = 0xbed;)  then the
do_page_fault handler will jump over the local_irq_enable with the

  goto bad_area_nosemaphore;

But the first line there sees this is user code and goes through the
process of sending a signal to send SIGSEGV to the user task. This whole
time interrupts are disabled and the task can not be preempted by a
higher priority task.

This patch always enables interrupts in the user path of the
bad_area_nosemaphore.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-07 17:05:03 -07:00
..
boot
crypto
kernel mtrr atomicity fix 2007-06-04 13:25:09 -07:00
lib
mach-default
mach-es7000
mach-generic
mach-visws
mach-voyager
math-emu
mm enable interrupts in user path of page fault. 2007-06-07 17:05:03 -07:00
oprofile x86: fix oprofile double free 2007-06-01 08:18:28 -07:00
pci
power
Kconfig
Kconfig.cpu
Kconfig.debug
Makefile
Makefile.cpu
defconfig