[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALvZod4MpcxzZ59hTX72g7F26Kmb=hfBCGNUGq41MgRfTvuEsQ@mail.gmail.com>
Date: Thu, 29 Jul 2021 07:40:34 -0700
From: Shakeel Butt <shakeelb@...gle.com>
To: Miaohe Lin <linmiaohe@...wei.com>
Cc: Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Vladimir Davydov <vdavydov.dev@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Roman Gushchin <guro@...com>,
Matthew Wilcox <willy@...radead.org>, alexs@...nel.org,
Wei Yang <richard.weiyang@...il.com>,
Muchun Song <songmuchun@...edance.com>,
Linux MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Cgroups <cgroups@...r.kernel.org>
Subject: Re: [PATCH 3/5] mm, memcg: save some atomic ops when flush is already true
On Thu, Jul 29, 2021 at 5:58 AM Miaohe Lin <linmiaohe@...wei.com> wrote:
>
> Add 'else' to save some atomic ops in obj_stock_flush_required() when
> flush is already true. No functional change intended here.
>
> Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists