[PATCH v2 0/2] mm/slab: trivial fixup for SLAB_TYPESAFE_BY_RCU example code snippet

From: SeongJae Park
Date: Fri Apr 14 2023 - 23:32:17 EST


Changes from v1
(https://lore.kernel.org/linux-mm/20230415003754.1852-1-sj@xxxxxxxxxx/)
- Update label (s/again/begin/) correctly (Matthew Wilcox)
- Add missed rcu_read_unlock()

This patchset is for trivial fixup for SLAB_TYPESAFE_BY_RCU example code
snippet, namely adding missed semicolon and breaking RCU read-side
critical section into smaller ones.

SeongJae Park (2):
mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code
mm/slab: break up RCU readers on SLAB_TYPESAFE_BY_RCU example code

include/linux/slab.h | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

--
2.25.1