aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorKunwu Chan <[email protected]>2025-03-24 06:18:34 +0000
committerBoqun Feng <[email protected]>2025-06-24 17:23:48 +0000
commit3f9ebeba9878679bb43ee2db7d50a4691f55e3a5 (patch)
treead694aedbbf882582b9dbde8b71b6c9c6d090d10 /rust/helpers/task.c
parentsched/core: Reorganize cgroup bandwidth control interface file writes (diff)
downloadkernel-3f9ebeba9878679bb43ee2db7d50a4691f55e3a5.tar.gz
kernel-3f9ebeba9878679bb43ee2db7d50a4691f55e3a5.zip
rust: sync: Mark CondVar::notify_*() inline
When build the kernel using the llvm-18.1.3-rust-1.85.0-x86_64 with ARCH=arm64, the following symbols are generated: $nm vmlinux | grep ' _R'.*CondVar | rustfilt ... T <kernel::sync::condvar::CondVar>::notify_all ... T <kernel::sync::condvar::CondVar>::notify_one ... T <kernel::sync::condvar::CondVar>::notify_sync ... These notify_*() symbols are trivial wrappers around the C functions __wake_up() and __wake_up_sync(). It doesn't make sense to go through a trivial wrapper for these functions, so mark them inline. [boqun: Reword the commit title for consistency and reformat the commit log.] Suggested-by: Alice Ryhl <[email protected]> Link: https://github.com/Rust-for-Linux/linux/issues/1145 Co-developed-by: Grace Deng <[email protected]> Signed-off-by: Grace Deng <[email protected]> Signed-off-by: Kunwu Chan <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Signed-off-by: Boqun Feng <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions