diff options
author | 2023-02-14 03:54:44 +0000 | |
---|---|---|
committer | 2023-03-28 16:20:07 -0700 | |
commit | 9a52b2f32a0942047348b30f866b846da5fcf4e3 (patch) | |
tree | ae64c43df91c3c6d28bc8f9e3317fb8f9f645fda /mm/debug.c | |
parent | x86/mm/pat: clear VM_PAT if copy_p4d_range failed (diff) | |
download | wireguard-linux-9a52b2f32a0942047348b30f866b846da5fcf4e3.tar.xz wireguard-linux-9a52b2f32a0942047348b30f866b846da5fcf4e3.zip |
mm: multi-gen LRU: clean up sysfs code
This patch cleans up the sysfs code. Specifically,
1. use sysfs_emit(),
2. use __ATTR_RW(), and
3. constify multi-gen LRU struct attribute_group.
Link: https://lkml.kernel.org/r/20230214035445.1250139-1-talumbau@google.com
Signed-off-by: T.J. Alumbaugh <talumbau@google.com>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions