Re: [PATCH 4/7] rcu/trace: Print negative GP numbers correctly

2020-06-18 Thread Paul E. McKenney
On Thu, Jun 18, 2020 at 04:29:52PM -0400, Joel Fernandes (Google) wrote: > GP numbers start from -300 and gp_seq numbers start of -1200 (for a > shift of 2). These negative numbers are printed as unsigned long which > not only takes up more text space, but is rather confusing to the reader > as

[PATCH 4/7] rcu/trace: Print negative GP numbers correctly

2020-06-18 Thread Joel Fernandes (Google)
GP numbers start from -300 and gp_seq numbers start of -1200 (for a shift of 2). These negative numbers are printed as unsigned long which not only takes up more text space, but is rather confusing to the reader as they have to constantly expend energy to truncate the number. Just print the