All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] cfi: free old cfi shadow asynchronously
@ 2022-07-04  1:40 ` Haibo Li
  0 siblings, 0 replies; 10+ messages in thread
From: Haibo Li @ 2022-07-04  1:40 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

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

-- 
2.25.1



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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-04  1:40 [PATCH v2 0/2] cfi: free old cfi shadow asynchronously Haibo Li
2022-07-04  1:40 ` Haibo Li
2022-07-04  1:40 ` [PATCH v2 1/2] cfi: enable sanitize for cfi.c Haibo Li
2022-07-04  1:40   ` Haibo Li
2022-07-04  1:40 ` [PATCH v2 2/2] cfi: free old cfi shadow asynchronously Haibo Li
2022-07-04  1:40   ` Haibo Li
2022-07-11 19:20 ` [PATCH v2 0/2] " Sami Tolvanen
2022-07-11 19:20   ` Sami Tolvanen
2022-12-01  6:41   ` Yongqin Liu
2022-12-01  6:41     ` Yongqin Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.