Home
last modified time | relevance | path

Searched refs:reclaim_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/linux/
Dswap.h155 struct reclaim_state { struct
174 if (current->reclaim_state) in mm_account_reclaimed_pages() argument
175 current->reclaim_state->reclaimed += pages; in mm_account_reclaimed_pages()
Dsched.h61 struct reclaim_state;
1191 struct reclaim_state *reclaim_state; member
/linux-6.6.21/mm/
Dvmscan.c169 struct reclaim_state reclaim_state; member
509 struct reclaim_state *rs) in set_task_reclaim_state()
512 WARN_ON_ONCE(rs && task->reclaim_state); in set_task_reclaim_state()
515 WARN_ON_ONCE(!rs && !task->reclaim_state); in set_task_reclaim_state()
517 task->reclaim_state = rs; in set_task_reclaim_state()
554 if (current->reclaim_state && root_reclaim(sc)) { in flush_reclaim_state()
555 sc->nr_reclaimed += current->reclaim_state->reclaimed; in flush_reclaim_state()
556 current->reclaim_state->reclaimed = 0; in flush_reclaim_state()
4329 struct lru_gen_mm_walk *walk = current->reclaim_state->mm_walk; in set_mm_walk()
4341 current->reclaim_state->mm_walk = walk; in set_mm_walk()
[all …]