diff options
| author | T.J. Alumbaugh <[email protected]> | 2023-02-14 03:54:44 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-03-28 16:20:07 -0700 |
| commit | 9a52b2f32a0942047348b30f866b846da5fcf4e3 (patch) | |
| tree | ae64c43df91c3c6d28bc8f9e3317fb8f9f645fda /include/linux | |
| parent | d155df53f31068c3340733d586eb9b3ddfd70fc5 (diff) | |
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/[email protected]
Signed-off-by: T.J. Alumbaugh <[email protected]>
Cc: Yu Zhao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmzone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 9fb1b03b83b2..bf8786d45b31 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -1369,7 +1369,7 @@ typedef struct pglist_data { #ifdef CONFIG_LRU_GEN /* kswap mm walk data */ - struct lru_gen_mm_walk mm_walk; + struct lru_gen_mm_walk mm_walk; /* lru_gen_folio list */ struct lru_gen_memcg memcg_lru; #endif |