diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-05-11 21:49:35 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-05-11 21:49:35 +0300 |
commit | ce13389053a347aa9f8ffbfda2238352536e15c9 (patch) | |
tree | 1bdfa4c0aeb2038dcee1a7802d2d693359e8aeb4 /kernel/rcu/tree.h | |
parent | be05ee54378d451e1d60196921566d6087f3079f (diff) | |
parent | 9621fbee44df940e2e1b94b0676460a538dffefa (diff) | |
download | linux-ce13389053a347aa9f8ffbfda2238352536e15c9.tar.xz |
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. */ |