* [PATCH -next] rcu: Remove unused declaration rcu_segcblist_offload()
@ 2024-08-15 8:50 Yue Haibing
2024-08-15 14:05 ` Frederic Weisbecker
2024-08-20 19:20 ` Paul E. McKenney
0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2024-08-15 8:50 UTC (permalink / raw)
To: paulmck, frederic, neeraj.upadhyay, joel, josh, boqun.feng,
urezki, rostedt, mathieu.desnoyers, jiangshanlai,
qiang.zhang1211
Cc: rcu, linux-kernel, yuehaibing
Commit 17351eb59abd ("rcu/nocb: Simplify (de-)offloading state machine")
removed the implementation but leave declaration.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
kernel/rcu/rcu_segcblist.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/rcu/rcu_segcblist.h b/kernel/rcu/rcu_segcblist.h
index 259904075636..fadc08ad4b7b 100644
--- a/kernel/rcu/rcu_segcblist.h
+++ b/kernel/rcu/rcu_segcblist.h
@@ -120,7 +120,6 @@ void rcu_segcblist_inc_len(struct rcu_segcblist *rsclp);
void rcu_segcblist_add_len(struct rcu_segcblist *rsclp, long v);
void rcu_segcblist_init(struct rcu_segcblist *rsclp);
void rcu_segcblist_disable(struct rcu_segcblist *rsclp);
-void rcu_segcblist_offload(struct rcu_segcblist *rsclp, bool offload);
bool rcu_segcblist_ready_cbs(struct rcu_segcblist *rsclp);
bool rcu_segcblist_pend_cbs(struct rcu_segcblist *rsclp);
struct rcu_head *rcu_segcblist_first_cb(struct rcu_segcblist *rsclp);
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH -next] rcu: Remove unused declaration rcu_segcblist_offload()
2024-08-15 8:50 [PATCH -next] rcu: Remove unused declaration rcu_segcblist_offload() Yue Haibing
@ 2024-08-15 14:05 ` Frederic Weisbecker
2024-08-20 19:20 ` Paul E. McKenney
1 sibling, 0 replies; 3+ messages in thread
From: Frederic Weisbecker @ 2024-08-15 14:05 UTC (permalink / raw)
To: Yue Haibing
Cc: paulmck, neeraj.upadhyay, joel, josh, boqun.feng, urezki,
rostedt, mathieu.desnoyers, jiangshanlai, qiang.zhang1211, rcu,
linux-kernel
Le Thu, Aug 15, 2024 at 04:50:53PM +0800, Yue Haibing a écrit :
> Commit 17351eb59abd ("rcu/nocb: Simplify (de-)offloading state machine")
> removed the implementation but leave declaration.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH -next] rcu: Remove unused declaration rcu_segcblist_offload()
2024-08-15 8:50 [PATCH -next] rcu: Remove unused declaration rcu_segcblist_offload() Yue Haibing
2024-08-15 14:05 ` Frederic Weisbecker
@ 2024-08-20 19:20 ` Paul E. McKenney
1 sibling, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2024-08-20 19:20 UTC (permalink / raw)
To: Yue Haibing
Cc: frederic, neeraj.upadhyay, joel, josh, boqun.feng, urezki,
rostedt, mathieu.desnoyers, jiangshanlai, qiang.zhang1211, rcu,
linux-kernel
On Thu, Aug 15, 2024 at 04:50:53PM +0800, Yue Haibing wrote:
> Commit 17351eb59abd ("rcu/nocb: Simplify (de-)offloading state machine")
> removed the implementation but leave declaration.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Good eyes!
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
> ---
> kernel/rcu/rcu_segcblist.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/rcu/rcu_segcblist.h b/kernel/rcu/rcu_segcblist.h
> index 259904075636..fadc08ad4b7b 100644
> --- a/kernel/rcu/rcu_segcblist.h
> +++ b/kernel/rcu/rcu_segcblist.h
> @@ -120,7 +120,6 @@ void rcu_segcblist_inc_len(struct rcu_segcblist *rsclp);
> void rcu_segcblist_add_len(struct rcu_segcblist *rsclp, long v);
> void rcu_segcblist_init(struct rcu_segcblist *rsclp);
> void rcu_segcblist_disable(struct rcu_segcblist *rsclp);
> -void rcu_segcblist_offload(struct rcu_segcblist *rsclp, bool offload);
> bool rcu_segcblist_ready_cbs(struct rcu_segcblist *rsclp);
> bool rcu_segcblist_pend_cbs(struct rcu_segcblist *rsclp);
> struct rcu_head *rcu_segcblist_first_cb(struct rcu_segcblist *rsclp);
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-20 19:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-15 8:50 [PATCH -next] rcu: Remove unused declaration rcu_segcblist_offload() Yue Haibing
2024-08-15 14:05 ` Frederic Weisbecker
2024-08-20 19:20 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®