[PATCH RT] enable interrupts in do_page_fault for users (take 2 - add i386 fix too)

2007-06-06 Thread Steven Rostedt
Thomas, Can you replace my previous patch with this one. This one includes the fix for i386. -- Steve Index: linux-2.6.21-rt9/arch/x86_64/mm/fault.c === --- linux-2.6.21-rt9.orig/arch/x86_64/mm/fault.c +++ linux-2.6.21-rt9/arch/x86_

[PATCH RT] enable interrupts in do_page_fault for users.

2007-06-01 Thread Steven Rostedt
Ingo, To prevent scheduling while irqs disabled, I added a force to the do_page_fault to enable interrupts. The thing is, if the user faults at an address above PAGE_OFFSET. My stupid program that I attached to my last email did just that: unsigned long *p = (void*)-1; *p = 0xbed; where (