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

Haibo Li posted 2 patches 2 years, 2 months ago
kernel/Makefile |  3 ---
kernel/cfi.c    | 20 +++++++++++++++++---
2 files changed, 17 insertions(+), 6 deletions(-)
[PATCH 0/2] ANDROID: cfi:free old cfi shadow asynchronously
Posted by Haibo Li 2 years, 2 months ago
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