[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220630094646.91837-1-haibo.li@mediatek.com>
Date: Thu, 30 Jun 2022 17:46:44 +0800
From: Haibo Li <haibo.li@...iatek.com>
To: Sami Tolvanen <samitolvanen@...gle.com>
CC: <xiaoming.yu@...iatek.com>, Kees Cook <keescook@...omium.org>,
"Nathan Chancellor" <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
"Christophe Leroy" <christophe.leroy@...roup.eu>,
André Almeida <andrealmeid@...lia.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Juergen Gross <jgross@...e.com>,
Haibo Li <haibo.li@...iatek.com>,
Tiezhu Yang <yangtiezhu@...ngson.cn>,
Aaron Tomlin <atomlin@...hat.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
<linux-kernel@...r.kernel.org>, <llvm@...ts.linux.dev>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>
Subject: [PATCH 0/2] ANDROID: cfi:free old cfi shadow asynchronously
Currenly, it uses synchronize_rcu() to wait old rcu reader to go away
in update_shadow.In embedded platform like ARM CA7X,
load_module blocks 40~50ms in update_shadow.
When there are more than one hundred kernel modules,
it blocks several seconds.
To accelerate load_module,change synchronize_rcu to call_rcu.
*** BLURB HERE ***
Haibo Li (2):
ANDROID: cfi: enable sanitize for cfi.c
ANDROID: cfi: free old cfi shadow asynchronously
kernel/Makefile | 3 ---
kernel/cfi.c | 20 +++++++++++++++++---
2 files changed, 17 insertions(+), 6 deletions(-)
--
2.25.1
Powered by blists - more mailing lists