]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit6347e2a10f7031dc3725e6f4519089517c0ca521
tree5c2156ea9bb48eea0224ca7fe4f5db22dcd0ed48
parentc105e86ace5a32ee4760a502bc45dcd26fed2375
nios2: mm: do not invoke OOM killer on kernel fault OOM

Follow commit 871341023c771ad.

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