Re: [PATCH v21 17/19] mm/lru: replace pgdat lru_lock with lruvec lock

From: Alex Shi
Date: Fri Nov 06 2020 - 02:48:42 EST




在 2020/11/5 下午9:43, Alex Shi 写道:
>
> 在 2020/11/5 下午4:55, Alex Shi 写道:
>> /**
>> + * lock_page_lruvec - lock and return lruvec for a given page.
>> + * @page: the page
>> + *
>> + * This series functions should be used in either conditions:
>> + * PageLRU is cleared or unset
>> + * or page is locked.
> or page->_refcount is zero.
> Ops, here is a typo, we need to add back above line.
> so the patch updated here:

Sorry for aother miss, linux-next removed the page.mem_cgroup,
replace it to memcg_data and get by page_memcg(). Hence this and next
patch needs update for this: