diff options
author | Kinsey Ho <[email protected]> | 2023-12-27 14:12:02 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-01-05 10:17:44 -0800 |
commit | 61dd3f246b3adaabff3241c586f2210ac91b05a4 (patch) | |
tree | fc42e80cc23c1e05d514256dc1cc4c3cf4791817 /net/lapb/lapb_out.c | |
parent | 71ce1ab54a505736786d9c5921e6c2718c7ec535 (diff) |
mm/mglru: add CONFIG_LRU_GEN_WALKS_MMU
Add CONFIG_LRU_GEN_WALKS_MMU such that if disabled, the code that
walks page tables to promote pages into the youngest generation will
not be built.
Also improves code readability by adding two helper functions
get_mm_state() and get_next_mm().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kinsey Ho <[email protected]>
Co-developed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Tested-by: Donet Tom <[email protected]>
Acked-by: Yu Zhao <[email protected]>
Cc: kernel test robot <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions