diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2025-03-15 21:05:20 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-03-19 08:03:04 -0700 |
commit | a8fcf2a39bdd751e90657906889bc6619d264c19 (patch) | |
tree | cba932aaaf4b1a7f2a6fbaa19fbbca6fa76442a3 /scripts/lib/kdoc/kdoc_parser.py | |
parent | c0149a034540ed24de0581a09983710c88253697 (diff) |
locking: Copy out qspinlock.c to kernel/bpf/rqspinlock.c
In preparation for introducing a new lock implementation, Resilient
Queued Spin Lock, or rqspinlock, we first begin our modifications by
using the existing qspinlock.c code as the base. Simply copy the code to
a new file and rename functions and variables from 'queued' to
'resilient_queued'.
Since we place the file in kernel/bpf, include needs to be relative.
This helps each subsequent commit in clearly showing how and where the
code is being changed. The only change after a literal copy in this
commit is renaming the functions where necessary, and rename qnodes to
rqnodes. Let's also use EXPORT_SYMBOL_GPL for rqspinlock slowpath.
Reviewed-by: Barret Rhoden <brho@google.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250316040541.108729-5-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions