From: Christopher Lameter <cl@linux.com>
To: Abel Wu <wuyun.wu@huawei.com>
Cc: Pekka Enberg <penberg@kernel.org>,
David Rientjes <rientjes@google.com>,
Joonsoo Kim <iamjoonsoo.kim@lge.com>,
Andrew Morton <akpm@linux-foundation.org>,
hewenliang4@huawei.com, hushiyuan@huawei.com,
"open list:SLAB ALLOCATOR" <linux-mm@kvack.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mm/slub: branch optimization in free slowpath
Date: Thu, 13 Aug 2020 16:47:30 +0000 (UTC) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2008131647040.112773@www.lameter.com> (raw)
In-Reply-To: <20200813101812.1617-1-wuyun.wu@huawei.com>
On Thu, 13 Aug 2020, wuyun.wu@huawei.com wrote:
> The two conditions are mutually exclusive and gcc compiler will
> optimise this into if-else-like pattern. Given that the majority
> of free_slowpath is free_frozen, let's provide some hint to the
> compilers.
Acked-by: Christoph Lameter <cl@linux.com>
prev parent reply other threads:[~2020-08-13 16:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-13 10:18 [PATCH] mm/slub: branch optimization in free slowpath wuyun.wu
2020-08-13 16:47 ` Christopher Lameter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.22.394.2008131647040.112773@www.lameter.com \
--to=cl@linux.com \
--cc=akpm@linux-foundation.org \
--cc=hewenliang4@huawei.com \
--cc=hushiyuan@huawei.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=wuyun.wu@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).