Re: [PATCH v18 15/32] mm/lru: move lock into lru_note_cost
From: Alex Shi
Date: Mon Sep 21 2020 - 23:40:36 EST
在 2020/9/22 上午5:36, Hugh Dickins 写道:
>
>> We have to move lru_lock into lru_note_cost, since it cycle up on memcg
>> tree, for future per lruvec lru_lock replace. It's a bit ugly and may
>> cost a bit more locking, but benefit from multiple memcg locking could
>> cover the lost.
>>
>> Signed-off-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>
> Acked-by: Hugh Dickins <hughd@xxxxxxxxxx>
Thanks!