[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241209132549.2878604-1-ruanjinjie@huawei.com>
Date: Mon, 9 Dec 2024 21:25:47 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: <viro@...iv.linux.org.uk>, <brauner@...nel.org>, <jack@...e.cz>,
<akpm@...ux-foundation.org>, <Liam.Howlett@...cle.com>,
<lokeshgidra@...gle.com>, <lorenzo.stoakes@...cle.com>, <rppt@...nel.org>,
<aarcange@...hat.com>, <ruanjinjie@...wei.com>, <Jason@...c4.com>,
<linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-mm@...ck.org>
Subject: [PATCH 0/2] userfaultfd: handle few NULL check inline
Handle dup_userfaultfd() and anon_vma_fork() NULL check inline to
save some function call overhead. The Unixbench single core process
create has 1% improve with these patches.
Jinjie Ruan (2):
userfaultfd: handle dup_userfaultfd() NULL check inline
mm, rmap: handle anon_vma_fork() NULL check inline
fs/userfaultfd.c | 5 +----
include/linux/rmap.h | 12 +++++++++++-
include/linux/userfaultfd_k.h | 11 ++++++++++-
mm/rmap.c | 6 +-----
4 files changed, 23 insertions(+), 11 deletions(-)
--
2.34.1
Powered by blists - more mailing lists