summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorAmery Hung <ameryhung@gmail.com>2025-07-30 11:58:55 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-08-01 18:00:46 -0700
commit784181141782204f6dbbeadf01780e81da5fcb29 (patch)
treec2bbab91c80e6066923f1b4ce54676091b88d2aa /scripts/gdb/linux/timerlist.py
parent120f1a950e495d9751fdb5c8b7852d94546dcd03 (diff)
selftests/bpf: Test concurrent task local data key creation
Test thread-safety of tld_create_key(). Since tld_create_key() does not rely on locks but memory barriers and atomic operations to protect the shared metadata, the thread-safety of the function is non-trivial. Make sure concurrent tld_key_create(), both valid and invalid, can not race and corrupt metatada, which may leads to TLDs not being thread- specific or duplicate TLDs with the same name. Signed-off-by: Amery Hung <ameryhung@gmail.com> Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com> Link: https://lore.kernel.org/r/20250730185903.3574598-5-ameryhung@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions