Re: [PATCH 01/14] mm/lru: move pgdat lru_lock into lruvec

From: Alex Shi
Date: Tue Aug 20 2019 - 10:12:08 EST




在 2019/8/20 下午9:40, Matthew Wilcox 写道:
> On Tue, Aug 20, 2019 at 05:48:24PM +0800, Alex Shi wrote:
>> +++ b/include/linux/mmzone.h
>> @@ -295,6 +295,9 @@ struct zone_reclaim_stat {
>>
>> struct lruvec {
>> struct list_head lists[NR_LRU_LISTS];
>> + /* move lru_lock to per lruvec for memcg */
>> + spinlock_t lru_lock;
>
> This comment makes no sense outside the context of this patch.
>

Right, Thanks for point out this. will remove it in v2.

Thanks
Alex