Re: [PATCH RFC rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-24 Thread Joel Fernandes
On Fri, Jan 24, 2025 at 9:56 AM Frederic Weisbecker wrote: > > Le Thu, Jan 23, 2025 at 08:49:47PM -0500, Joel Fernandes a écrit : > > On Thu, Dec 12, 2024 at 7:59 PM Paul E. McKenney wrote: > > > > > > The get_state_synchronize_rcu_full() and poll_state_synchronize_rcu_full() > > > functions use

Re: [PATCH RFC rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-24 Thread Frederic Weisbecker
Le Thu, Jan 23, 2025 at 08:49:47PM -0500, Joel Fernandes a écrit : > On Thu, Dec 12, 2024 at 7:59 PM Paul E. McKenney wrote: > > > > The get_state_synchronize_rcu_full() and poll_state_synchronize_rcu_full() > > functions use the root rcu_node structure's ->gp_seq field to detect > > the beginning

Re: [PATCH RFC rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2025-01-23 Thread Joel Fernandes
On Thu, Dec 12, 2024 at 7:59 PM Paul E. McKenney wrote: > > The get_state_synchronize_rcu_full() and poll_state_synchronize_rcu_full() > functions use the root rcu_node structure's ->gp_seq field to detect > the beginnings and ends of grace periods, respectively. This choice is > necessary for th

[PATCH RFC rcu] Fix get_state_synchronize_rcu_full() GP-start detection

2024-12-12 Thread Paul E. McKenney
The get_state_synchronize_rcu_full() and poll_state_synchronize_rcu_full() functions use the root rcu_node structure's ->gp_seq field to detect the beginnings and ends of grace periods, respectively. This choice is necessary for the poll_state_synchronize_rcu_full() function because (give or take