[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALvZod7SCzKM-ROAMSpTK4o3aBtX9m6LX0Bz1zOtx=1oHtkgRw@mail.gmail.com>
Date: Thu, 19 Aug 2021 13:09:38 -0700
From: Shakeel Butt <shakeelb@...gle.com>
To: Muchun Song <songmuchun@...edance.com>
Cc: Roman Gushchin <guro@...com>, Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Vladimir Davydov <vdavydov.dev@...il.com>,
Matthew Wilcox <willy@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux MM <linux-mm@...ck.org>
Subject: Re: [PATCH v2] mm: introduce PAGEFLAGS_MASK to replace ((1UL <<
NR_PAGEFLAGS) - 1)
On Thu, Aug 19, 2021 at 8:07 AM Muchun Song <songmuchun@...edance.com> wrote:
>
> Instead of hard-coding ((1UL << NR_PAGEFLAGS) - 1) everywhere, introducing
> PAGEFLAGS_MASK to make the code clear to get the page flags.
>
> Signed-off-by: Muchun Song <songmuchun@...edance.com>
Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists