2014-07-23 01:05:16

by David Rientjes

[permalink] [raw]
Subject: [patch] mm, arc: remove obsolete pagefault oom killer comment

Commit 609838cfed97 ("mm: invoke oom-killer from remaining unconverted page
fault handlers") converted arc to call pagefault_out_of_memory(), so remove
the comment about future conversion.

Cc: Johannes Weiner <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
---
arch/arc/mm/fault.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c
--- a/arch/arc/mm/fault.c
+++ b/arch/arc/mm/fault.c
@@ -159,7 +159,6 @@ good_area:
return;
}

- /* TBD: switch to pagefault_out_of_memory() */
if (fault & VM_FAULT_OOM)
goto out_of_memory;
else if (fault & VM_FAULT_SIGBUS)


2014-07-23 05:46:07

by Vineet Gupta

[permalink] [raw]
Subject: Re: [patch] mm, arc: remove obsolete pagefault oom killer comment

On Wednesday 23 July 2014 06:35 AM, David Rientjes wrote:
> Commit 609838cfed97 ("mm: invoke oom-killer from remaining unconverted page
> fault handlers") converted arc to call pagefault_out_of_memory(), so remove
> the comment about future conversion.
>
> Cc: Johannes Weiner <[email protected]>
> Signed-off-by: David Rientjes <[email protected]>

Thx David,

Applied to ARC for-next.

-Vineet