linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ANDROID: cfi:free old cfi shadow asynchronously
@ 2022-06-30  9:46 Haibo Li
  2022-06-30  9:46 ` [PATCH 1/2] ANDROID: cfi: enable sanitize for cfi.c Haibo Li
  2022-06-30  9:46 ` [PATCH 2/2] ANDROID: cfi: free old cfi shadow asynchronously Haibo Li
  0 siblings, 2 replies; 8+ messages in thread
From: Haibo Li @ 2022-06-30  9:46 UTC (permalink / raw)
  To: Sami Tolvanen
  Cc: xiaoming.yu, Kees Cook, Nathan Chancellor, Nick Desaulniers,
	Matthias Brugger, Peter Zijlstra, Masami Hiramatsu,
	Christophe Leroy, André Almeida, Luis Chamberlain,
	Juergen Gross, Haibo Li, Tiezhu Yang, Aaron Tomlin,
	Dmitry Torokhov, linux-kernel, llvm, linux-arm-kernel,
	linux-mediatek

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-01  2:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  9:46 [PATCH 0/2] ANDROID: cfi:free old cfi shadow asynchronously Haibo Li
2022-06-30  9:46 ` [PATCH 1/2] ANDROID: cfi: enable sanitize for cfi.c Haibo Li
2022-06-30 16:19   ` Sami Tolvanen
2022-07-01  2:10     ` Haibo Li
2022-06-30  9:46 ` [PATCH 2/2] ANDROID: cfi: free old cfi shadow asynchronously Haibo Li
2022-06-30 16:16   ` Sami Tolvanen
2022-07-01  2:27     ` Haibo Li
2022-07-01  2:42     ` Haibo Li

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).