This commit converts the ULONG_CMP_LT() in rcu_nohz_full_cpu() to time_before() to reflect the fact that it is comparing a timestamp to the jiffies counter.
Unified · Split
| @@ -2537,7 +2537,7 @@ static bool rcu_nohz_full_cpu(void) · 2536 unmodified lines | ||
| 2537 | 2537 | #ifdef CONFIG_NO_HZ_FULL |
| 2538 | 2538 | if (tick_nohz_full_cpu(smp_processor_id()) && |
| 2539 | 2539 | (!rcu_gp_in_progress() || |
| 2540 | − ULONG_CMP_LT(jiffies, READ_ONCE(rcu_state.gp_start) + HZ))) | |
| 2540 | + time_before(jiffies, READ_ONCE(rcu_state.gp_start) + HZ))) | |
| 2541 | 2541 | return true; |
| 2542 | 2542 | #endif /* #ifdef CONFIG_NO_HZ_FULL */ |
| 2543 | 2543 | return false; |