diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2025-01-09 00:37:17 +0300 |
---|---|---|
committer | Boqun Feng <boqun.feng@gmail.com> | 2025-02-05 08:50:06 +0300 |
commit | df0cee43114bd212e3fc9add2a18639605049b95 (patch) | |
tree | 9cbddffbf13c16c310dc9eb0aec4d44d66b6e4d9 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | bea1d19f03644b0eb7ac0b7d96f79a3af13f196b (diff) | |
download | linux-df0cee43114bd212e3fc9add2a18639605049b95.tar.xz |
docs: Improve discussion of this_cpu_ptr(), add raw_cpu_ptr()
Most of the this_cpu_*() operations may be used in preemptible code,
but not this_cpu_ptr(), and for good reasons. Therefore, better explain
the reasons and call out raw_cpu_ptr() as an alternative in certain very
special cases.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: <linux-doc@vger.kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions