Re: [PATCH 0/4] mm: Simplfy cow handling

2020-08-27 Thread Peter Xu
On Fri, Aug 21, 2020 at 07:49:54PM -0400, Peter Xu wrote: > This is a small series that I picked up from Linus's suggestion [0] to > simplify > cow handling (and also more strict) by checking against page refcounts rather > than mapcounts. > > I'm CCing the author and reviewer of commit 52d1e606e

Re: [PATCH 0/4] mm: Simplfy cow handling

2020-08-24 Thread Kirill Tkhai
On 22.08.2020 02:49, Peter Xu wrote: > This is a small series that I picked up from Linus's suggestion [0] to > simplify > cow handling (and also more strict) by checking against page refcounts rather > than mapcounts. > > I'm CCing the author and reviewer of commit 52d1e606ee73 on ksm ("mm: reus

Re: [PATCH 0/4] mm: Simplfy cow handling

2020-08-23 Thread Peter Xu
On Sat, Aug 22, 2020 at 09:05:37AM -0700, Linus Torvalds wrote: > On Fri, Aug 21, 2020 at 4:50 PM Peter Xu wrote: > > > > - Run a busy loop dirty program [1] that uses 6G of memory, restrict to 1G > > RAM + 5G swap (cgroup). A few hours later, all things still look good. > > Make sure t

Re: [PATCH 0/4] mm: Simplfy cow handling

2020-08-22 Thread Linus Torvalds
On Fri, Aug 21, 2020 at 4:50 PM Peter Xu wrote: > > - Run a busy loop dirty program [1] that uses 6G of memory, restrict to 1G > RAM + 5G swap (cgroup). A few hours later, all things still look good. > Make sure to observe (still massive) correct page reuses using the new > counter

[PATCH 0/4] mm: Simplfy cow handling

2020-08-21 Thread Peter Xu
This is a small series that I picked up from Linus's suggestion [0] to simplify cow handling (and also more strict) by checking against page refcounts rather than mapcounts. I'm CCing the author and reviewer of commit 52d1e606ee73 on ksm ("mm: reuse only-pte-mapped KSM page in do_wp_page()", 2019-