[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YQNs71JoXrxTnAA8@carbon.lan>
Date: Thu, 29 Jul 2021 20:07:27 -0700
From: Roman Gushchin <guro@...com>
To: Miaohe Lin <linmiaohe@...wei.com>
CC: <hannes@...xchg.org>, <mhocko@...nel.org>,
<vdavydov.dev@...il.com>, <akpm@...ux-foundation.org>,
<shakeelb@...gle.com>, <willy@...radead.org>, <alexs@...nel.org>,
<richard.weiyang@...il.com>, <songmuchun@...edance.com>,
<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<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 08:57:53PM +0800, Miaohe Lin 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>
Acked-by: Roman Gushchin <guro@...com>
Powered by blists - more mailing lists