diff options
author | Alexey Dobriyan <[email protected]> | 2018-04-10 16:34:49 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-04-11 10:28:36 -0700 |
commit | d64d01a155f84850f7dc9795f464e3df9a5ddb10 (patch) | |
tree | 715ed9123f38632d20e2779fd15efc95659b1638 /arch/sparc/kernel/sys_sparc_64.c | |
parent | 0965232035cfa59a64d197cf8a8ee0bc407bb3e4 (diff) |
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 <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Glauber Costa <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/sparc/kernel/sys_sparc_64.c')
0 files changed, 0 insertions, 0 deletions