Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-06-04 Thread Doug Anderson
Hi, On Wed, Jun 3, 2020 at 5:00 AM Daniel Thompson wrote: > > On Tue, Jun 02, 2020 at 03:56:33PM -0700, Doug Anderson wrote: > > > > 2. Perhaps remove the whole irq saving / restoring in kgdb_cpu_enter(). > > > > > > Are you feeling lucky? > > > > > > I think there will come a time when bravery

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-06-03 Thread Daniel Thompson
On Tue, Jun 02, 2020 at 03:56:33PM -0700, Doug Anderson wrote: > > > 2. Perhaps remove the whole irq saving / restoring in kgdb_cpu_enter(). > > > > Are you feeling lucky? > > > > I think there will come a time when bravery is called for but I'd rather > > see this as part of a bigger rewrite

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-06-02 Thread Doug Anderson
Hi, On Mon, Jun 1, 2020 at 9:20 AM Daniel Thompson wrote: > > On Wed, May 27, 2020 at 05:02:27PM -0700, Doug Anderson wrote: > > Hi, > > > > On Tue, May 19, 2020 at 3:41 AM Daniel Thompson > > wrote: > > > > > > On Thu, May 07, 2020 at 03:53:58PM -0700, Douglas Anderson wrote: > > > > At times

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-06-01 Thread Daniel Thompson
On Wed, May 27, 2020 at 05:02:27PM -0700, Doug Anderson wrote: > Hi, > > On Tue, May 19, 2020 at 3:41 AM Daniel Thompson > wrote: > > > > On Thu, May 07, 2020 at 03:53:58PM -0700, Douglas Anderson wrote: > > > At times when I'm using kgdb I see a splat on my console about > > > suspicious RCU

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-05-27 Thread Doug Anderson
Hi, On Tue, May 19, 2020 at 3:41 AM Daniel Thompson wrote: > > On Thu, May 07, 2020 at 03:53:58PM -0700, Douglas Anderson wrote: > > At times when I'm using kgdb I see a splat on my console about > > suspicious RCU usage. I managed to come up with a case that could > > reproduce this that

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-05-19 Thread Daniel Thompson
On Thu, May 07, 2020 at 03:53:58PM -0700, Douglas Anderson wrote: > At times when I'm using kgdb I see a splat on my console about > suspicious RCU usage. I managed to come up with a case that could > reproduce this that looked like this: > > WARNING: suspicious RCU usage > 5.7.0-rc4+ #609

[PATCH] kgdb: Avoid suspicious RCU usage warning

2020-05-07 Thread Douglas Anderson
At times when I'm using kgdb I see a splat on my console about suspicious RCU usage. I managed to come up with a case that could reproduce this that looked like this: WARNING: suspicious RCU usage 5.7.0-rc4+ #609 Not tainted - kernel/pid.c:395