Re: [PATCH v17 00/21] per memcg lru lock

From: Alex Shi
Date: Wed Jul 29 2020 - 10:49:29 EST



Is there any comments or suggestion for this patchset?
Any hints will be very appreciated.

Thanks
Alex

å 2020/7/27 äå1:40, Alex Shi åé:

> A standard for new page isolation steps like the following:
> 1, get_page(); #pin the page avoid be free
> 2, TestClearPageLRU(); #serialize other isolation, also memcg change
> 3, spin_lock on lru_lock; #serialize lru list access
> The step 2 could be optimzed/replaced in scenarios which page is unlikely
> be accessed by others.
>
>
>
> å 2020/7/25 äå8:59, Alex Shi åé:
>> The new version which bases on v5.8-rc6. It includes Hugh Dickins fix in
>> mm/swap.c and mm/mlock.c fix which Alexander Duyck pointed out, then
>> removes 'mm/mlock: reorder isolation sequence during munlock'
>>
>> Hi Johanness & Hugh & Alexander & Willy,
>>
>> Could you like to give a reviewed by since you address much of issue and
>> give lots of suggestions! Many thanks!