summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-04-10 16:34:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-11 10:28:36 -0700
commitd64d01a155f84850f7dc9795f464e3df9a5ddb10 (patch)
tree715ed9123f38632d20e2779fd15efc95659b1638 /fs/binfmt_elf_fdpic.c
parent0965232035cfa59a64d197cf8a8ee0bc407bb3e4 (diff)
downloadlinux-stable-d64d01a155f84850f7dc9795f464e3df9a5ddb10.tar.gz
linux-stable-d64d01a155f84850f7dc9795f464e3df9a5ddb10.tar.bz2
linux-stable-d64d01a155f84850f7dc9795f464e3df9a5ddb10.zip
seq_file: account everything to kmemcg
All it takes to open a file and read 1 byte from it. seq_file will be allocated along with any private allocations, and more importantly seq file buffer which is 1 page by default. Link: http://lkml.kernel.org/r/20180310085252.GB17121@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Glauber Costa <glommer@gmail.com> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions