Home
last modified time | relevance | path

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

/linux/include/linux/
H A 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()
H A Dsched.h71 struct reclaim_state;
1251 struct reclaim_state *reclaim_state; member
/linux/mm/
H A Dvmscan.c183 struct reclaim_state reclaim_state; member
275 struct reclaim_state *rs) in set_task_reclaim_state()
278 WARN_ON_ONCE(rs && task->reclaim_state); in set_task_reclaim_state()
281 WARN_ON_ONCE(!rs && !task->reclaim_state); in set_task_reclaim_state()
283 task->reclaim_state = rs; in set_task_reclaim_state()
320 if (current->reclaim_state && root_reclaim(sc)) { in flush_reclaim_state()
321 sc->nr_reclaimed += current->reclaim_state->reclaimed; in flush_reclaim_state()
322 current->reclaim_state->reclaimed = 0; in flush_reclaim_state()
3684 struct lru_gen_mm_walk *walk = current->reclaim_state->mm_walk; in set_mm_walk()
3696 current->reclaim_state->mm_walk = walk; in set_mm_walk()
[all …]