Skip to content

Commit 28f0361

Browse files
committed
rcu: Replace synchronize_sched_expedited_wait() "_sched" with "_rcu"
After RCU flavor consolidation, synchronize_sched_expedited_wait() does both RCU-preempt and RCU-sched, whichever happens to have been built into the running kernel. This commit therefore changes this function's name to synchronize_rcu_expedited_wait() to reflect its new generic nature. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent de8cd0a commit 28f0361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/rcu/tree_exp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ static void sync_rcu_exp_select_cpus(void)
453453
* Wait for the expedited grace period to elapse, issuing any needed
454454
* RCU CPU stall warnings along the way.
455455
*/
456-
static void synchronize_sched_expedited_wait(void)
456+
static void synchronize_rcu_expedited_wait(void)
457457
{
458458
int cpu;
459459
unsigned long jiffies_stall;
@@ -538,7 +538,7 @@ static void rcu_exp_wait_wake(unsigned long s)
538538
{
539539
struct rcu_node *rnp;
540540

541-
synchronize_sched_expedited_wait();
541+
synchronize_rcu_expedited_wait();
542542

543543
// Switch over to wakeup mode, allowing the next GP to proceed.
544544
// End the previous grace period only after acquiring the mutex

0 commit comments

Comments
 (0)