Re: [PATCH v18 20/32] mm/lru: replace pgdat lru_lock with lruvec lock

2020-09-22 Thread Alex Shi
在 2020/9/22 下午1:27, Hugh Dickins 写道: > On Mon, 24 Aug 2020, Alex Shi wrote: > >> This patch moves per node lru_lock into lruvec, thus bring a lru_lock for >> each of memcg per node. So on a large machine, each of memcg don't >> have to suffer from per node pgdat->lru_lock competition. They coul

Re: [PATCH v18 20/32] mm/lru: replace pgdat lru_lock with lruvec lock

2020-09-21 Thread Hugh Dickins
On Mon, 24 Aug 2020, Alex Shi wrote: > This patch moves per node lru_lock into lruvec, thus bring a lru_lock for > each of memcg per node. So on a large machine, each of memcg don't > have to suffer from per node pgdat->lru_lock competition. They could go > fast with their self lru_lock. > > Afte

[PATCH v18 20/32] mm/lru: replace pgdat lru_lock with lruvec lock

2020-08-24 Thread Alex Shi
This patch moves per node lru_lock into lruvec, thus bring a lru_lock for each of memcg per node. So on a large machine, each of memcg don't have to suffer from per node pgdat->lru_lock competition. They could go fast with their self lru_lock. After move memcg charge before lru inserting, page iso