Linux RCU subsystem development
 help / color / mirror / Atom feed
* [PATCH] doc: rcu: update printed dynticks counter bits
@ 2024-08-18  8:18 Baruch Siach
  2024-08-20 18:47 ` Paul E. McKenney
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2024-08-18  8:18 UTC (permalink / raw)
  To: Paul E. McKenney, Frederic Weisbecker, Neeraj Upadhyay,
	Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang
  Cc: rcu, Baruch Siach

The stall warning prints 16 bits since commit 171476775d32
("context_tracking: Convert state to atomic_t").

Fixes: 171476775d32 ("context_tracking: Convert state to atomic_t")
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 Documentation/RCU/stallwarn.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/RCU/stallwarn.rst b/Documentation/RCU/stallwarn.rst
index ca7b7cd806a1..30080ff6f406 100644
--- a/Documentation/RCU/stallwarn.rst
+++ b/Documentation/RCU/stallwarn.rst
@@ -249,7 +249,7 @@ ticks this GP)" indicates that this CPU has not taken any scheduling-clock
 interrupts during the current stalled grace period.
 
 The "idle=" portion of the message prints the dyntick-idle state.
-The hex number before the first "/" is the low-order 12 bits of the
+The hex number before the first "/" is the low-order 16 bits of the
 dynticks counter, which will have an even-numbered value if the CPU
 is in dyntick-idle mode and an odd-numbered value otherwise.  The hex
 number between the two "/"s is the value of the nesting, which will be
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: rcu: update printed dynticks counter bits
  2024-08-18  8:18 [PATCH] doc: rcu: update printed dynticks counter bits Baruch Siach
@ 2024-08-20 18:47 ` Paul E. McKenney
  2024-09-26  9:05   ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Paul E. McKenney @ 2024-08-20 18:47 UTC (permalink / raw)
  To: Baruch Siach
  Cc: Frederic Weisbecker, Neeraj Upadhyay, Joel Fernandes,
	Josh Triplett, Boqun Feng, Uladzislau Rezki, Steven Rostedt,
	Mathieu Desnoyers, Lai Jiangshan, Zqiang, rcu

On Sun, Aug 18, 2024 at 11:18:17AM +0300, Baruch Siach wrote:
> The stall warning prints 16 bits since commit 171476775d32
> ("context_tracking: Convert state to atomic_t").
> 
> Fixes: 171476775d32 ("context_tracking: Convert state to atomic_t")
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Good eyes!

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>

> ---
>  Documentation/RCU/stallwarn.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/RCU/stallwarn.rst b/Documentation/RCU/stallwarn.rst
> index ca7b7cd806a1..30080ff6f406 100644
> --- a/Documentation/RCU/stallwarn.rst
> +++ b/Documentation/RCU/stallwarn.rst
> @@ -249,7 +249,7 @@ ticks this GP)" indicates that this CPU has not taken any scheduling-clock
>  interrupts during the current stalled grace period.
>  
>  The "idle=" portion of the message prints the dyntick-idle state.
> -The hex number before the first "/" is the low-order 12 bits of the
> +The hex number before the first "/" is the low-order 16 bits of the
>  dynticks counter, which will have an even-numbered value if the CPU
>  is in dyntick-idle mode and an odd-numbered value otherwise.  The hex
>  number between the two "/"s is the value of the nesting, which will be
> -- 
> 2.43.0
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: rcu: update printed dynticks counter bits
  2024-08-20 18:47 ` Paul E. McKenney
@ 2024-09-26  9:05   ` Baruch Siach
  2024-09-27  6:50     ` Neeraj Upadhyay
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2024-09-26  9:05 UTC (permalink / raw)
  To: Paul E. McKenney
  Cc: Frederic Weisbecker, Neeraj Upadhyay, Joel Fernandes,
	Josh Triplett, Boqun Feng, Uladzislau Rezki, Steven Rostedt,
	Mathieu Desnoyers, Lai Jiangshan, Zqiang, rcu

Hi Paul,

On Tue, Aug 20 2024, Paul E. McKenney wrote:
> On Sun, Aug 18, 2024 at 11:18:17AM +0300, Baruch Siach wrote:
>> The stall warning prints 16 bits since commit 171476775d32
>> ("context_tracking: Convert state to atomic_t").
>> 
>> Fixes: 171476775d32 ("context_tracking: Convert state to atomic_t")
>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>
> Good eyes!
>
> Reviewed-by: Paul E. McKenney <paulmck@kernel.org>

I remember seeing this patch queued in one of the rcu git trees, but I
can't find it anymore. I don't see it in Linus' tree either.

Thanks,
baruch

>>  Documentation/RCU/stallwarn.rst | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/Documentation/RCU/stallwarn.rst b/Documentation/RCU/stallwarn.rst
>> index ca7b7cd806a1..30080ff6f406 100644
>> --- a/Documentation/RCU/stallwarn.rst
>> +++ b/Documentation/RCU/stallwarn.rst
>> @@ -249,7 +249,7 @@ ticks this GP)" indicates that this CPU has not taken any scheduling-clock
>>  interrupts during the current stalled grace period.
>>  
>>  The "idle=" portion of the message prints the dyntick-idle state.
>> -The hex number before the first "/" is the low-order 12 bits of the
>> +The hex number before the first "/" is the low-order 16 bits of the
>>  dynticks counter, which will have an even-numbered value if the CPU
>>  is in dyntick-idle mode and an odd-numbered value otherwise.  The hex
>>  number between the two "/"s is the value of the nesting, which will be
>> -- 
>> 2.43.0
>> 

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: rcu: update printed dynticks counter bits
  2024-09-26  9:05   ` Baruch Siach
@ 2024-09-27  6:50     ` Neeraj Upadhyay
  0 siblings, 0 replies; 4+ messages in thread
From: Neeraj Upadhyay @ 2024-09-27  6:50 UTC (permalink / raw)
  To: Baruch Siach
  Cc: Paul E. McKenney, Frederic Weisbecker, Neeraj Upadhyay,
	Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang, rcu

Hi Baruch,

On Thu, Sep 26, 2024 at 12:05:38PM +0300, Baruch Siach wrote:
> Hi Paul,
> 
> On Tue, Aug 20 2024, Paul E. McKenney wrote:
> > On Sun, Aug 18, 2024 at 11:18:17AM +0300, Baruch Siach wrote:
> >> The stall warning prints 16 bits since commit 171476775d32
> >> ("context_tracking: Convert state to atomic_t").
> >> 
> >> Fixes: 171476775d32 ("context_tracking: Convert state to atomic_t")
> >> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> >
> > Good eyes!
> >
> > Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
> 
> I remember seeing this patch queued in one of the rcu git trees, but I
> can't find it anymore. I don't see it in Linus' tree either.
> 

This patch is included for v6.13 queue [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/neeraj.upadhyay/linux-rcu.git/log/?h=dev


- Neeraj

> Thanks,
> baruch
> 
> >>  Documentation/RCU/stallwarn.rst | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >> 
> >> diff --git a/Documentation/RCU/stallwarn.rst b/Documentation/RCU/stallwarn.rst
> >> index ca7b7cd806a1..30080ff6f406 100644
> >> --- a/Documentation/RCU/stallwarn.rst
> >> +++ b/Documentation/RCU/stallwarn.rst
> >> @@ -249,7 +249,7 @@ ticks this GP)" indicates that this CPU has not taken any scheduling-clock
> >>  interrupts during the current stalled grace period.
> >>  
> >>  The "idle=" portion of the message prints the dyntick-idle state.
> >> -The hex number before the first "/" is the low-order 12 bits of the
> >> +The hex number before the first "/" is the low-order 16 bits of the
> >>  dynticks counter, which will have an even-numbered value if the CPU
> >>  is in dyntick-idle mode and an odd-numbered value otherwise.  The hex
> >>  number between the two "/"s is the value of the nesting, which will be
> >> -- 
> >> 2.43.0
> >> 
> 
> -- 
>                                                      ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-27  6:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-18  8:18 [PATCH] doc: rcu: update printed dynticks counter bits Baruch Siach
2024-08-20 18:47 ` Paul E. McKenney
2024-09-26  9:05   ` Baruch Siach
2024-09-27  6:50     ` Neeraj Upadhyay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox