aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLiam R. Howlett <[email protected]>2023-02-27 09:36:05 -0800
committerAndrew Morton <[email protected]>2023-04-05 18:06:22 -0700
commit0a2b18d948838e16912b3b627b504ab062b7d02a (patch)
treebf449173908e68d246593d9f3cef153401d1c166 /scripts/gdb/linux/utils.py
parentc13af03de46ba27674dd9fb31a17c0d480081139 (diff)
maple_tree: add smp_rmb() to dead node detection
Add an smp_rmb() before reading the parent pointer to ensure that anything read from the node prior to the parent pointer hasn't been reordered ahead of this check. The is necessary for RCU mode. Link: https://lkml.kernel.org/r/[email protected] Fixes: 54a611b60590 ("Maple Tree: add new data structure") Signed-off-by: Liam R. Howlett <[email protected]> Signed-off-by: Suren Baghdasaryan <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions