diff options
author | zijun_hu | 2016-12-13 01:42:17 +0100 |
---|---|---|
committer | Linus Torvalds | 2016-12-13 03:55:07 +0100 |
commit | 3f5000693f80e014fa577b67b93a0de945a4338d (patch) | |
tree | 432e554dcbed08b336c981d52a992ee24a224ace /mm/mprotect.c | |
parent | mm: make unreserve highatomic functions reliable (diff) | |
download | kernel-qcow2-linux-3f5000693f80e014fa577b67b93a0de945a4338d.tar.gz kernel-qcow2-linux-3f5000693f80e014fa577b67b93a0de945a4338d.tar.xz kernel-qcow2-linux-3f5000693f80e014fa577b67b93a0de945a4338d.zip |
mm/vmalloc.c: simplify /proc/vmallocinfo implementation
Many seq_file helpers exist for simplifying implementation of virtual
files especially, for /proc nodes. however, the helpers for iteration
over list_head are available but aren't adopted to implement
/proc/vmallocinfo currently.
Simplify /proc/vmallocinfo implementation by using existing seq_file
helpers.
Link: http://lkml.kernel.org/r/57FDF2E5.1000201@zoho.com
Signed-off-by: zijun_hu <zijun_hu@htc.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions