diff options
| author | Alexey Dobriyan <[email protected]> | 2018-04-10 23:34:49 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-04-11 17:28:36 +0000 |
| commit | d64d01a155f84850f7dc9795f464e3df9a5ddb10 (patch) | |
| tree | 715ed9123f38632d20e2779fd15efc95659b1638 /security/selinux/hooks.c | |
| parent | seq_file: allocate seq_file from kmem_cache (diff) | |
| download | kernel-d64d01a155f84850f7dc9795f464e3df9a5ddb10.tar.gz kernel-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 <[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 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
