Re: [patch 3/5] x86: finish fault error path with fatal signal

2013-07-25 Thread Johannes Weiner
On Thu, Jul 25, 2013 at 04:29:13PM -0400, KOSAKI Motohiro wrote: > (7/24/13 4:32 PM), Johannes Weiner wrote: > >@@ -1189,9 +1174,17 @@ good_area: > > */ > > fault = handle_mm_fault(mm, vma, address, flags); > > > >-if (unlikely(fault & (VM_FAULT_RETRY|VM_FAULT_ERROR))) { > >-

Re: [patch 3/5] x86: finish fault error path with fatal signal

2013-07-25 Thread KOSAKI Motohiro
(7/24/13 4:32 PM), Johannes Weiner wrote: On Fri, Jul 19, 2013 at 12:25:02AM -0400, Johannes Weiner wrote: The x86 fault handler bails in the middle of error handling when the task has been killed. For the next patch this is a problem, because it relies on pagefault_out_of_memory() being called

Re: [patch 3/5] x86: finish fault error path with fatal signal

2013-07-24 Thread Johannes Weiner
On Fri, Jul 19, 2013 at 12:25:02AM -0400, Johannes Weiner wrote: > The x86 fault handler bails in the middle of error handling when the > task has been killed. For the next patch this is a problem, because > it relies on pagefault_out_of_memory() being called even when the task > has been killed,

[patch 3/5] x86: finish fault error path with fatal signal

2013-07-18 Thread Johannes Weiner
The x86 fault handler bails in the middle of error handling when the task has been killed. For the next patch this is a problem, because it relies on pagefault_out_of_memory() being called even when the task has been killed, to perform proper OOM state unwinding. This is a rather minor optimizati