summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay@kernel.org>2026-07-24 11:31:23 -0700
committerPaul E. McKenney <paulmck@kernel.org>2026-07-24 16:52:56 -0700
commitaaca360ebb04ccd15a733bcbd863c2aebba8c1d5 (patch)
tree64910bbe7f12617006fdfdf554835408827f49d3 /scripts/Makefile.thinlto
parent60b54875bd0ba87a7d39204e0cd494a29d22e72f (diff)
downloadlinux-aaca360ebb04ccd15a733bcbd863c2aebba8c1d5.tar.gz
linux-aaca360ebb04ccd15a733bcbd863c2aebba8c1d5.zip
rcu: Enable RCU callbacks to benefit from expedited grace periods
Currently, RCU callbacks only track normal grace-period sequence numbers. This means callbacks must wait for normal grace periods to complete even when expedited grace periods have already elapsed. Use the full struct rcu_gp_seq (which tracks both the normal and expedited grace-period sequences) throughout the callback infrastructure. rcu_segcblist_advance() now checks both normal and expedited GP completion via poll_state_synchronize_rcu_full(), and becomes parameterless since it reads the grace-period state internally. rcu_segcblist_accelerate() stores the full state (both sequences) instead of just the normal one. rcu_accelerate_cbs() and rcu_accelerate_cbs_unlocked() use get_state_synchronize_rcu_full() to capture both sequences, and the NOCB advance checks use poll_state_synchronize_rcu_full() instead of comparing only the normal sequence. srcu_segcblist_advance() becomes a standalone implementation because it compares SRCU sequences directly and cannot use poll_state_synchronize_rcu_full(), which reads RCU-specific globals. srcu_segcblist_accelerate() sets the ->exp field to RCU_GET_STATE_NOT_TRACKED so that poll_state_synchronize_rcu_full() compares only ->norm and ignores ->exp. Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions