From: Sami Tolvanen <samitolvanen@google.com>
To: Haibo Li <haibo.li@mediatek.com>
Cc: xiaoming.yu@mediatek.com, "Kees Cook" <keescook@chromium.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nick Desaulniers" <ndesaulniers@google.com>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"Peter Zijlstra" <peterz@infradead.org>,
"Masami Hiramatsu" <mhiramat@kernel.org>,
"Christophe Leroy" <christophe.leroy@csgroup.eu>,
"André Almeida" <andrealmeid@igalia.com>,
"Luis Chamberlain" <mcgrof@kernel.org>,
"Juergen Gross" <jgross@suse.com>,
"Tiezhu Yang" <yangtiezhu@loongson.cn>,
"Aaron Tomlin" <atomlin@redhat.com>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
linux-kernel@vger.kernel.org, llvm@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2 0/2] cfi: free old cfi shadow asynchronously
Date: Mon, 11 Jul 2022 12:20:22 -0700 [thread overview]
Message-ID: <Ysx39t+I56lDGe4i@google.com> (raw)
In-Reply-To: <20220704014046.34596-1-haibo.li@mediatek.com>
On Mon, Jul 04, 2022 at 09:40:44AM +0800, Haibo Li wrote:
> This patchset changes synchronize_rcu to call_rcu in update_shadow.
>
> Patch 1 enables the CFI sanitization for cfi.c and
> bypass __cfi_slowpath_diag.
> It is the prerequisite for using call_rcu in cfi.c.
>
> Patch 2 changes synchronize_rcu to call_rcu and
> free old cfi shadow in rcu cb
>
> Changes in v2:
> - Remove _run_cfi_check,add __nocfi to __cfi_slowpath_diag directly
> - Rename _cfi_shadow_free_rcu to free_shadow
>
> Haibo Li (2):
> cfi: enable sanitize for cfi.c
> cfi: free old cfi shadow asynchronously
>
> kernel/Makefile | 3 ---
> kernel/cfi.c | 14 +++++++++++---
> 2 files changed, 11 insertions(+), 6 deletions(-)
Thanks for sending v2! For the series:
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Sami
next prev parent reply other threads:[~2022-07-11 19:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 1:40 [PATCH v2 0/2] cfi: free old cfi shadow asynchronously Haibo Li
2022-07-04 1:40 ` [PATCH v2 1/2] cfi: enable sanitize for cfi.c Haibo Li
2022-07-04 1:40 ` [PATCH v2 2/2] cfi: free old cfi shadow asynchronously Haibo Li
2022-07-11 19:20 ` Sami Tolvanen [this message]
2022-12-01 6:41 ` [PATCH v2 0/2] " Yongqin Liu
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=Ysx39t+I56lDGe4i@google.com \
--to=samitolvanen@google.com \
--cc=andrealmeid@igalia.com \
--cc=atomlin@redhat.com \
--cc=christophe.leroy@csgroup.eu \
--cc=dmitry.torokhov@gmail.com \
--cc=haibo.li@mediatek.com \
--cc=jgross@suse.com \
--cc=keescook@chromium.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=llvm@lists.linux.dev \
--cc=matthias.bgg@gmail.com \
--cc=mcgrof@kernel.org \
--cc=mhiramat@kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=peterz@infradead.org \
--cc=xiaoming.yu@mediatek.com \
--cc=yangtiezhu@loongson.cn \
/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).