acrn-kernel/arch/x86_64
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 [PATCH] x86-64: Share identical video.S between i386 and x86-64 2007-05-02 19:27:21 +02:00
crypto
ia32 Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
kernel Avoid zero size allocation in cache_k8_northbridges() 2007-05-23 20:14:12 -07:00
lib Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-02-26 14:17:50 -08:00
mm enable interrupts in user path of page fault. 2007-06-07 17:05:03 -07:00
oprofile
pci [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01: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.debug
Makefile [PATCH] x86-64: Remove CONFIG_REORDER 2007-05-02 19:27:21 +02:00
defconfig x86_64: Update defconfig 2007-05-21 09:56:56 -07:00