[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161103151700.73a98155238acff3f3f98e8b@linux-foundation.org>
Date: Thu, 3 Nov 2016 15:17:00 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Vitaly Wool <vitalywool@...il.com>
Cc: Linux-MM <linux-mm@...ck.org>, LKML <linux-kernel@...r.kernel.org>,
Dan Streetman <ddstreet@...e.org>
Subject: Re: [PATCH] z3fold: make pages_nr atomic
On Thu, 3 Nov 2016 22:24:07 +0100 Vitaly Wool <vitalywool@...il.com> wrote:
> On Thu, Nov 3, 2016 at 10:14 PM, Andrew Morton
> <akpm@...ux-foundation.org> wrote:
> > On Thu, 3 Nov 2016 22:00:58 +0100 Vitaly Wool <vitalywool@...il.com> wrote:
> >
> >> This patch converts pages_nr per-pool counter to atomic64_t.
> >
> > Which is slower.
> >
> > Presumably there is a reason for making this change. This reason
> > should be described in the changelog.
>
> The reason [which I thought was somewhat obvious :) ] is that there
> won't be a need to take a per-pool lock to read or modify that
> counter.
But the patch didn't change the locking. And as far as I can tell,
neither does "z3fold: extend compaction function".
Powered by blists - more mailing lists