linux/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 i386: Fix wrong CPU error message in early boot path 2007-05-21 09:56:57 -07:00
crypto [CRYPTO] api: Get rid of flags argument to setkey 2006-09-21 11:41:02 +10:00
kernel mtrr atomicity fix 2007-06-04 13:25:09 -07:00
lib i386: Add safe variants of rdmsr_on_cpu and wrmsr_on_cpu 2007-05-08 17:22:01 +02:00
mach-default Add IRQF_IRQPOLL flag on i386 2007-05-08 11:15:22 -07:00
mach-es7000 ACPICA: Remove duplicate table manager 2007-02-02 21:14:28 -05:00
mach-generic i386 bigsmp: section mismatch fixes 2007-05-23 20:14:15 -07:00
mach-visws Add IRQF_IRQPOLL flag on i386 2007-05-08 11:15:22 -07:00
mach-voyager i386: fix voyager build 2007-05-15 08:54:01 -07:00
math-emu [PATCH] i386: avoid gcc extension 2007-02-13 13:26:24 +01:00
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 PCI: i386: fixup for Siemens Nixdorf AG FSC Multiprocessor Interrupt Controllers 2007-05-31 16:56:37 -07:00
power [PATCH] x86: Save and restore the fixed-range MTRRs of the BSP when suspending 2007-05-02 19:27:17 +02:00
defconfig i386: Update defconfig 2007-05-21 09:56:56 -07:00
Kconfig i386, x86-64: show that CONFIG_HOTPLUG_CPU is required for suspend on SMP 2007-05-23 20:14:14 -07:00
Kconfig.cpu Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
Kconfig.debug [PATCH] i386: PARAVIRT: Remove CONFIG_DEBUG_PARAVIRT 2007-05-02 19:27:13 +02:00
Makefile Revert "[PATCH] x86: Drop cc-options call for all options supported in gcc 3.2+" 2007-05-17 20:18:11 -07:00
Makefile.cpu [PATCH] i386: Fix usage of -mtune when X86_GENERIC=y or CONFIG_MCORE2=y 2007-05-02 19:27:06 +02:00