On Sat, 2024-07-13 at 22:28 +0530, [email protected] wrote: > From: "Paul E. McKenney" <[email protected]> > > Currently, the CSD-lock diagnostics in CONFIG_CSD_LOCK_WAIT_DEBUG=y > kernels are emitted at five-second intervals. Although this has > proven > to be a good time interval for the first diagnostic, if the target > CPU > keeps interrupts disabled for way longer than five seconds, the ratio > of useful new information to pointless repetition increases > considerably. > > Therefore, back off the time period for repeated reports of the same > incident, increasing linearly with the number of reports and > logarithmicly > with the number of online CPUs. > > [ paulmck: Apply Dan Carpenter feedback. ] > > Signed-off-by: Paul E. McKenney <[email protected]> > Cc: Imran Khan <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Leonardo Bras <[email protected]> > Cc: "Peter Zijlstra (Intel)" <[email protected]> > Cc: Rik van Riel <[email protected]> > Signed-off-by: Neeraj Upadhyay <[email protected]>
Reviewed-by: Rik van Riel <[email protected]> -- All Rights Reversed.
