rcu_set_gpwrap_lag(9)
β¨ rcu_set_gpwrap_lag β¨
Okay bestie, welcome to the kernel API manual for rcu_set_gpwrap_lag(9) β yes, thatβs the whole vibe, and no, we are not skipping a single detail. π«Ά
πΈ NAME πΈ
rcu_set_gpwrap_lag β set the RCU GP sequence overflow lag value. Lowkey iconic, highkey niche. π
π¦ SYNOPSIS π¦
void rcu_set_gpwrap_lag (unsigned long lag_gps );
Thatβs it. Thatβs the whole signature. Slay. β¨
π ARGUMENTS π
lag_gpsβ set the overflow lag to this many grace period worth of counters. Itβs used byrcutortureto quickly force agpwrapsituation. And iflag_gps = 0, that means we reset it back to the boot-time value. Periodt. π
π SEE ALSO π
Kernel file ./kernel/rcu/tree.c β and literally all of these friends:
rcu_softirq_qs(9)rcu_watching_snap_stopped_since(9)rcu_is_cpu_rrupt_from_idle(9)rcu_irq_exit_check_preempt(9)__rcu_irq_enter_check_tick(9)rcu_is_watching(9)call_rcu_hurry(9)call_rcu(9)synchronize_rcu(9)get_completed_synchronize_rcu_full(9)get_state_synchronize_rcu(9)get_state_synchronize_rcu_full(9)start_poll_synchronize_rcu(9)start_poll_synchronize_rcu_full(9)poll_state_synchronize_rcu(9)poll_state_synchronize_rcu_full(9)cond_synchronize_rcu(9)cond_synchronize_rcu_full(9)rcu_barrier(9)rcu_barrier_throttled(9)
π Friendly reminder: lag_gps = 0 is not a βnothingβ value, bestie β it resets the overflow lag back to the boot-time value. Do not play with it unless you know what youβre doing.
And thatβs the page, bestie! This little piece of kernel lore lives in ./kernel/rcu, dates back to October 2026, and the manual page is literally called rcu_set_gpwrap_lag(9). Go forth and force a gpwrap situation responsibly. ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms