diff options
author | SeongJae Park <sj@kernel.org> | 2023-04-17 22:04:50 +0300 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-06-08 10:13:36 +0300 |
commit | 1143c9d9d7602f20ba7bb3cef0d07b10f23cbef7 (patch) | |
tree | 91706617b5296385d29a1c3f2511924c8bf9788c /mm/slab.h | |
parent | 9ca73f2645706230249c4ec2a2b0cab9515987c8 (diff) | |
download | linux-1143c9d9d7602f20ba7bb3cef0d07b10f23cbef7.tar.xz |
mm/slab: break up RCU readers on SLAB_TYPESAFE_BY_RCU example code
The SLAB_TYPESAFE_BY_RCU example code snippet uses a single RCU
read-side critical section for retries.
'Documentation/RCU/rculist_nulls.rst' has similar example code snippet,
and commit da82af04352b ("doc: Update and wordsmith rculist_nulls.rst")
broke it up. Apply the change to SLAB_TYPESAFE_BY_RCU example code
snippet, too.
Signed-off-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions