diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-05-11 20:49:35 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-05-11 20:49:35 +0200 |
commit | ce13389053a347aa9f8ffbfda2238352536e15c9 (patch) | |
tree | 1bdfa4c0aeb2038dcee1a7802d2d693359e8aeb4 /kernel/rcu/tree.h | |
parent | Merge branches 'docs.2022.04.20a', 'fixes.2022.04.20a', 'nocb.2022.04.11b', '... (diff) | |
parent | rcu: Move expedited grace period (GP) work to RT kthread_worker (diff) | |
download | linux-ce13389053a347aa9f8ffbfda2238352536e15c9.tar.xz linux-ce13389053a347aa9f8ffbfda2238352536e15c9.zip |
Merge branch 'exp.2022.05.11a' into HEAD
exp.2022.05.11a: Expedited-grace-period latency-reduction updates.
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r-- | kernel/rcu/tree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 8aa5bf74e796..2ccf5845957d 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -10,6 +10,7 @@ */ #include <linux/cache.h> +#include <linux/kthread.h> #include <linux/spinlock.h> #include <linux/rtmutex.h> #include <linux/threads.h> @@ -23,7 +24,11 @@ /* Communicate arguments to a workqueue handler. */ struct rcu_exp_work { unsigned long rew_s; +#ifdef CONFIG_RCU_EXP_KTHREAD + struct kthread_work rew_work; +#else struct work_struct rew_work; +#endif /* CONFIG_RCU_EXP_KTHREAD */ }; /* RCU's kthread states for tracing. */ |