Searched refs:lru_gen (Results 1 – 3 of 3) sorted by relevance
22 ``/sys/kernel/mm/lru_gen/`` contains stable ABIs described in the57 echo y >/sys/kernel/mm/lru_gen/enabled58 cat /sys/kernel/mm/lru_gen/enabled60 echo 5 >/sys/kernel/mm/lru_gen/enabled61 cat /sys/kernel/mm/lru_gen/enabled86 ``/sys/kernel/debug/lru_gen`` accepts commands described in the105 When it is read, ``lru_gen`` returns a histogram of numbers of pages122 Users can write the following command to ``lru_gen`` to create a new146 Users can write the following command to ``lru_gen`` to evict
918 } lru_gen; member965 INIT_LIST_HEAD(&mm->lru_gen.list); in lru_gen_init_mm()966 mm->lru_gen.bitmap = 0; in lru_gen_init_mm()968 mm->lru_gen.memcg = NULL; in lru_gen_init_mm()979 WRITE_ONCE(mm->lru_gen.bitmap, -1); in lru_gen_use_mm()
3446 VM_WARN_ON_ONCE(!list_empty(&mm->lru_gen.list)); in lru_gen_add_mm()3448 VM_WARN_ON_ONCE(mm->lru_gen.memcg); in lru_gen_add_mm()3449 mm->lru_gen.memcg = memcg; in lru_gen_add_mm()3458 lruvec->mm_state.tail = &mm->lru_gen.list; in lru_gen_add_mm()3461 list_add_tail(&mm->lru_gen.list, &mm_list->fifo); in lru_gen_add_mm()3472 if (list_empty(&mm->lru_gen.list)) in lru_gen_del_mm()3476 memcg = mm->lru_gen.memcg; in lru_gen_del_mm()3486 if (lruvec->mm_state.head == &mm->lru_gen.list) in lru_gen_del_mm()3490 if (lruvec->mm_state.tail == &mm->lru_gen.list) in lru_gen_del_mm()3494 list_del_init(&mm->lru_gen.list); in lru_gen_del_mm()[all …]