Re: [PATCH 2/9] mm: workingset: tell cache transitions from workingset thrashing

2018-08-02 Thread Johannes Weiner
On Thu, Aug 02, 2018 at 08:57:31AM +0200, peter enderborg wrote: > On 08/01/2018 05:13 PM, Johannes Weiner wrote: > > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > > index e34a27727b9a..7af1c3c15d8e 100644 > > --- a/include/linux/page-flags.h > > +++ b/include/linux/page-fl

Re: [PATCH 2/9] mm: workingset: tell cache transitions from workingset thrashing

2018-08-02 Thread Johannes Weiner
Hi Suren, On Wed, Aug 01, 2018 at 02:56:27PM -0700, Suren Baghdasaryan wrote: > On Wed, Aug 1, 2018 at 8:19 AM, Johannes Weiner wrote: > > /* > > -* The unsigned subtraction here gives an accurate distance > > -* across inactive_age overflows in most cases. > > +*

Re: [PATCH 2/9] mm: workingset: tell cache transitions from workingset thrashing

2018-08-01 Thread peter enderborg
On 08/01/2018 05:13 PM, Johannes Weiner wrote: > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > index e34a27727b9a..7af1c3c15d8e 100644 > --- a/include/linux/page-flags.h > +++ b/include/linux/page-flags.h > @@ -69,13 +69,14 @@ > */ > enum pageflags { > PG_locked,