summaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2017-07-11 00:50:03 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-11 01:32:33 +0200
commit24c79d8e0a46bbd010ca9e0dc988a23981bcd423 (patch)
tree230a57e526435203dba4593160e5a56b5126746d /mm/swap.c
parentfs/dcache.c: fix spin lockup issue on nlru->lock (diff)
downloadlinux-24c79d8e0a46bbd010ca9e0dc988a23981bcd423.tar.xz
linux-24c79d8e0a46bbd010ca9e0dc988a23981bcd423.zip
mm: use dedicated helper to access rlimit value
Use rlimit() helper instead of manually writing whole chain from current task to rlim_cur. Link: http://lkml.kernel.org/r/20170705172811.8027-1-k.opasiak@samsung.com Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions