[tip: irq/core] softirq: Add debug check to __raise_softirq_irqoff()

2020-09-16 Thread tip-bot2 for Jiafei Pan
The following commit has been merged into the irq/core branch of tip: Commit-ID: cdabce2e3dff7e4bcef73473987618569d178af3 Gitweb: https://git.kernel.org/tip/cdabce2e3dff7e4bcef73473987618569d178af3 Author:Jiafei Pan AuthorDate:Fri, 14 Aug 2020 12:55:22 +08:00 Committer

RE: [PATCH v2] softirq: add irq off checking for __raise_softirq_irqoff

2020-09-09 Thread Jiafei Pan
@Thomas Gleixner, any more comments for v2 patch? Can we merge it? Thanks. Best Regards, Jiafei. > -Original Message- > From: Jiafei Pan > Sent: Friday, August 14, 2020 12:55 PM > To: pet...@infradead.org; mi...@kernel.org; t...@linutronix.de; > rost...@goodmis.

[PATCH v2] softirq: add irq off checking for __raise_softirq_irqoff

2020-08-13 Thread Jiafei Pan
unexpected issue, for example hrtimer soft irq will be losed and soft hrtimer will never be expire and handled. Enable CONFIG_PROVE_LOCKING to use lockdep_assert_irqs_disabled() to check hardirqs and softirqs status, and provide warning in irqs enabled context. Signed-off-by: Jiafei Pan --- Changes in

RE: [EXT] Re: [PATCH] softirq: add irq off checking for __raise_softirq_irqoff

2020-08-13 Thread Jiafei Pan
> From: Steven Rostedt > Sent: Thursday, August 13, 2020 10:57 PM > > On Thu, 13 Aug 2020 03:03:46 +0000 > Jiafei Pan wrote: > > > Any comments? Thanks. > > > > @Steven Rostedt, I thinks irq off checking is necessary especially > > This is probably mo

RE: [EXT] Re: [PATCH] softirq: add irq off checking for __raise_softirq_irqoff

2020-08-13 Thread Jiafei Pan
> From: Peter Zijlstra > Sent: Thursday, August 13, 2020 1:58 PM > > On Thu, Aug 06, 2020 at 12:07:29PM +0800, Jiafei Pan wrote: > > __raise_softirq_irqoff will update per-CPU mask of pending softirqs, > > it need to be called in irq disabled context in order to keep

RE: [EXT] Re: [PATCH] softirq: add irq off checking for __raise_softirq_irqoff

2020-08-13 Thread Jiafei Pan
On Thu, 13 Aug 2020 03:03:46 + Jiafei Pan wrote: > Any comments? Thanks. > > @Steven Rostedt, I thinks irq off checking is necessary especially > This is probably more for Thomas Gleixner. Thanks Steven. @Thomas Gleixner, would you please review the patch? thanks. Jiafei. >

RE: [PATCH] softirq: add irq off checking for __raise_softirq_irqoff

2020-08-12 Thread Jiafei Pan
performance impaction to add extra checking here, if it is the case, how about to include it in some debug configuration items? Such as CONFIG_DEBUG_PREEMPT or other debug items? Best Regards, Jiafei. -Original Message- From: Jiafei Pan Sent: Thursday, August 6, 2020 12:07 PM To: pet

[PATCH] softirq: add irq off checking for __raise_softirq_irqoff

2020-08-05 Thread Jiafei Pan
unexpected issue, for example hrtimer soft irq will be losed and soft hrtimer will never be expire and handled. Adding irqs disabled checking here to provide warning in irqs enabled context. Signed-off-by: Jiafei Pan --- kernel/softirq.c | 5 + 1 file changed, 5 insertions(+) diff --git a/kernel

RE: [EXT] Re: stress-ng --hrtimers hangs system

2020-06-21 Thread Jiafei Pan
Thanks Kurt for your confirmation. Best Regards, Jiafei. -Original Message- From: Kurt Kanzenbach Sent: Saturday, June 20, 2020 4:08 PM To: Vladimir Oltean ; Jiafei Pan Cc: linux-rt-us...@vger.kernel.org; lkml ; r...@vger.kernel.org; Colin King ; Jiafei Pan Subject: Re: [EXT] Re

RE: [EXT] Re: stress-ng --hrtimers hangs system

2020-06-11 Thread Jiafei Pan
Hi, Kurt, May I know whether you used "root" user to run stress-ng? using "root" user will change the scheduler to be "SCHED_RR", so would you please share test result with root and non-root users? Thanks. Best Regards, Jiafei. -Original Message- From: linux-rt-users-ow...@vger.kernel