Re: [PATCH v11 00/16] per memcg lru lock

2020-06-15 Thread Alex Shi
在 2020/6/12 上午6:09, Hugh Dickins 写道: >>> I thought that a very safe change, but best to do some test runs with >>> it in before finalizing. And was then unpleasantly surprised to hit a >>> VM_BUG_ON_PAGE(lruvec_memcg(lruvec) != page->mem_cgroup) from >>> lock_page_lruvec_irqsave < relock_page_lr

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-12 Thread Alex Shi
在 2020/6/12 上午6:09, Hugh Dickins 写道: >> Anyway, I will send out new patchset >> with the first issue fixed. and then let's discussion base on it. > Sigh. I wish you had waited for me to send you fixes, or waited for an > identifiable tag like 5.8-rc1. Andrew has been very hard at work with > mm

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-11 Thread Hugh Dickins
On Thu, 11 Jun 2020, Alex Shi wrote: > 在 2020/6/10 上午11:22, Hugh Dickins 写道: > > On Mon, 8 Jun 2020, Alex Shi wrote: > >> 在 2020/6/8 下午12:15, Hugh Dickins 写道: > 24 files changed, 487 insertions(+), 312 deletions(-) > >>> Hi Alex, > >>> > >>> I didn't get to try v10 at all, waited until Johann

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-10 Thread Alex Shi
在 2020/6/10 上午11:22, Hugh Dickins 写道: > On Mon, 8 Jun 2020, Alex Shi wrote: >> 在 2020/6/8 下午12:15, Hugh Dickins 写道: 24 files changed, 487 insertions(+), 312 deletions(-) >>> Hi Alex, >>> >>> I didn't get to try v10 at all, waited until Johannes's preparatory >>> memcg swap cleanup was in m

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-09 Thread Hugh Dickins
On Mon, 8 Jun 2020, Alex Shi wrote: > 在 2020/6/8 下午12:15, Hugh Dickins 写道: > >> 24 files changed, 487 insertions(+), 312 deletions(-) > > Hi Alex, > > > > I didn't get to try v10 at all, waited until Johannes's preparatory > > memcg swap cleanup was in mmotm; but I have spent a while thrashing >

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-07 Thread Alex Shi
在 2020/6/8 下午12:15, Hugh Dickins 写道: >> 24 files changed, 487 insertions(+), 312 deletions(-) > Hi Alex, > > I didn't get to try v10 at all, waited until Johannes's preparatory > memcg swap cleanup was in mmotm; but I have spent a while thrashing > this v11, and can happily report that it is m

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-07 Thread Hugh Dickins
On Thu, 28 May 2020, Alex Shi wrote: > This is a new version which bases on linux-next > > Johannes Weiner has suggested: > "So here is a crazy idea that may be worth exploring: > > Right now, pgdat->lru_lock protects both PageLRU *and* the lruvec's > linked list. > > Can we make PageLRU atomi

[PATCH v11 00/16] per memcg lru lock

2020-05-28 Thread Alex Shi
This is a new version which bases on linux-next Johannes Weiner has suggested: "So here is a crazy idea that may be worth exploring: Right now, pgdat->lru_lock protects both PageLRU *and* the lruvec's linked list. Can we make PageLRU atomic and use it to stabilize the lru_lock instead, and then