]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: mm: do not invoke OOM killer on kernel fault OOM
authorLey Foon Tan <lftan@altera.com>
Mon, 16 Mar 2015 07:35:25 +0000 (15:35 +0800)
committerLey Foon Tan <lftan@altera.com>
Mon, 16 Mar 2015 07:35:25 +0000 (15:35 +0800)
commit68af92e53bc6a8fc6e510ae131e1dff190af5ac0
tree5c2156ea9bb48eea0224ca7fe4f5db22dcd0ed48
parentd3598fd91b29b5592524a032450a79d4347fe366
nios2: mm: do not invoke OOM killer on kernel fault OOM

Follow commit 4df2d1b0a301f77.

Kernel faults are expected to handle OOM conditions gracefully (gup,
uaccess etc.), so they should never invoke the OOM killer.  Reserve
this for faults triggered in user context when it is the only option.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/mm/fault.c