Searched refs:lrugen (Results 1 – 2 of 2) sorted by relevance
119 return READ_ONCE(lruvec->lrugen.seg); in lru_gen_memcg_seg()169 unsigned long max_seq = lruvec->lrugen.max_seq; in lru_gen_is_active()184 struct lru_gen_page *lrugen = &lruvec->lrugen; in lru_gen_update_size() local191 WRITE_ONCE(lrugen->nr_pages[old_gen][type][zone], in lru_gen_update_size()192 lrugen->nr_pages[old_gen][type][zone] - delta); in lru_gen_update_size()194 WRITE_ONCE(lrugen->nr_pages[new_gen][type][zone], in lru_gen_update_size()195 lrugen->nr_pages[new_gen][type][zone] + delta); in lru_gen_update_size()230 struct lru_gen_page *lrugen = &lruvec->lrugen; in lru_gen_add_page() local234 if (PageUnevictable(page) || !lrugen->enabled) in lru_gen_add_page()246 seq = lrugen->max_seq; in lru_gen_add_page()[all …]
643 struct lru_gen_page lrugen; member