[PATCH 0/2] ANDROID: cfi:free old cfi shadow asynchronously

From: Haibo Li
Date: Thu Jun 30 2022 - 05:46:58 EST


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