Searched refs:mm_list (Results 1 – 1 of 1) sorted by relevance
3537 static struct lru_gen_mm_list mm_list = { in get_mm_list() local3538 .fifo = LIST_HEAD_INIT(mm_list.fifo), in get_mm_list()3539 .lock = __SPIN_LOCK_UNLOCKED(mm_list.lock), in get_mm_list()3544 return &memcg->mm_list; in get_mm_list()3548 return &mm_list; in get_mm_list()3555 struct lru_gen_mm_list *mm_list = get_mm_list(memcg); in lru_gen_add_mm() local3562 spin_lock(&mm_list->lock); in lru_gen_add_mm()3568 if (lruvec->mm_state.tail == &mm_list->fifo) in lru_gen_add_mm()3572 list_add_tail(&mm->lru_gen.list, &mm_list->fifo); in lru_gen_add_mm()3574 spin_unlock(&mm_list->lock); in lru_gen_add_mm()[all …]