linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUNCE] 3.14.64-rt67
@ 2016-03-14 15:49 Steven Rostedt
  2016-03-15 21:45 ` Paul Gortmaker
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Rostedt @ 2016-03-14 15:49 UTC (permalink / raw)
  To: LKML, linux-rt-users
  Cc: Thomas Gleixner, Carsten Emde, John Kacur, Sebastian Andrzej Siewior


Dear RT Folks,

3.14 release on PI(E) Day!

I'm pleased to announce the 3.14.64-rt67 stable release.


This release is just an update to the new stable 3.14.64 version
and no RT specific changes have been made.


You can get this release via the git tree at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

  branch: v3.14-rt
  Head SHA1: f1d2391d1c641f19c1e548c6daec89d53093291f


Or to build 3.14.64-rt67 directly, the following patches should be applied:

  http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.xz

  http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.14.64.xz

  http://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.64-rt67.patch.xz




Enjoy,

-- Steve

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

* Re: [ANNOUNCE] 3.14.64-rt67
  2016-03-14 15:49 [ANNOUNCE] 3.14.64-rt67 Steven Rostedt
@ 2016-03-15 21:45 ` Paul Gortmaker
  2016-03-15 23:25   ` Paul Gortmaker
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Gortmaker @ 2016-03-15 21:45 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: LKML, linux-rt-users, Thomas Gleixner, Carsten Emde, John Kacur,
	Sebastian Andrzej Siewior

On Mon, Mar 14, 2016 at 11:49 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
>
> Dear RT Folks,
>
> 3.14 release on PI(E) Day!
>
> I'm pleased to announce the 3.14.64-rt67 stable release.

Testing this with what is largely a x86-64 defconfig but with RT_FULL,
I now see:

root@dell760-paul:~# dmesg|grep NOH
[    8.605854] NOHZ: local_softirq_pending 100
[    8.732677] NOHZ: local_softirq_pending 100
[    8.852729] NOHZ: local_softirq_pending 100
[    8.963964] NOHZ: local_softirq_pending 100
[    9.061892] NOHZ: local_softirq_pending 100
[    9.184921] NOHZ: local_softirq_pending 100
[    9.370958] NOHZ: local_softirq_pending 100
[    9.657811] NOHZ: local_softirq_pending 100
[    9.942631] NOHZ: local_softirq_pending 100
[   10.783710] NOHZ: local_softirq_pending 100
root@dell760-paul:~#

...early in boot (we cap them after ~10 msgs).

I think 100 is RCU if I did my bit counting properly; remind
me to submit a patch that uses the human readable names.

I had a good hunch which commit was responsible but I did
a check of it and the one directly underneath it to be sure,
and the latter boots w/o any pending messages.

git log --oneline  v3.14-rt ^v3.14.64
[...]
0a80a6849f19 latencyhist: disable jump-labels
a884ef48e1ca net: provide a way to delegate processing a softirq to ksoftirqd
780d7ca2fdb0 softirq: split timer softirqs out of ksoftirqd    <------
*** fail ***
13ad3a61e2c2 preempt-lazy: Add the lazy-preemption check to preempt_schedule()
d0bb90f40dbf net: move xmit_recursion to per-task variable on -RT
88f1b110f64d ptrace: don't open IRQs in ptrace_freeze_traced() too early
816f701e4c91 Linux 3.14.61-rt63

Have not investigated further yet; going to go test 3.10-rt since in
theory it should have the same issue; it has the same commit.
If it does, I'll follow up the announce for it with similar details.

Paul.
--

>
>
> This release is just an update to the new stable 3.14.64 version
> and no RT specific changes have been made.
>
>
> You can get this release via the git tree at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
>
>   branch: v3.14-rt
>   Head SHA1: f1d2391d1c641f19c1e548c6daec89d53093291f
>
>
> Or to build 3.14.64-rt67 directly, the following patches should be applied:
>
>   http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.xz
>
>   http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.14.64.xz
>
>   http://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.64-rt67.patch.xz
>
>
>
>
> Enjoy,
>
> -- Steve
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [ANNOUNCE] 3.14.64-rt67
  2016-03-15 21:45 ` Paul Gortmaker
@ 2016-03-15 23:25   ` Paul Gortmaker
  2016-03-16  2:50     ` Paul Gortmaker
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Gortmaker @ 2016-03-15 23:25 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: LKML, linux-rt-users, Thomas Gleixner, Carsten Emde, John Kacur,
	Sebastian Andrzej Siewior

On Tue, Mar 15, 2016 at 5:45 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:
> On Mon, Mar 14, 2016 at 11:49 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
>>
>> Dear RT Folks,
>>
>> 3.14 release on PI(E) Day!
>>
>> I'm pleased to announce the 3.14.64-rt67 stable release.
>
> Testing this with what is largely a x86-64 defconfig but with RT_FULL,
> I now see:
>
> root@dell760-paul:~# dmesg|grep NOH
> [    8.605854] NOHZ: local_softirq_pending 100
> [    8.732677] NOHZ: local_softirq_pending 100
> [    8.852729] NOHZ: local_softirq_pending 100
> [    8.963964] NOHZ: local_softirq_pending 100
> [    9.061892] NOHZ: local_softirq_pending 100
> [    9.184921] NOHZ: local_softirq_pending 100
> [    9.370958] NOHZ: local_softirq_pending 100
> [    9.657811] NOHZ: local_softirq_pending 100
> [    9.942631] NOHZ: local_softirq_pending 100
> [   10.783710] NOHZ: local_softirq_pending 100
> root@dell760-paul:~#
>
> ...early in boot (we cap them after ~10 msgs).
>
> I think 100 is RCU if I did my bit counting properly; remind
> me to submit a patch that uses the human readable names.
>
> I had a good hunch which commit was responsible but I did
> a check of it and the one directly underneath it to be sure,
> and the latter boots w/o any pending messages.
>
> git log --oneline  v3.14-rt ^v3.14.64
> [...]
> 0a80a6849f19 latencyhist: disable jump-labels
> a884ef48e1ca net: provide a way to delegate processing a softirq to ksoftirqd
> 780d7ca2fdb0 softirq: split timer softirqs out of ksoftirqd    <------
> *** fail ***
> 13ad3a61e2c2 preempt-lazy: Add the lazy-preemption check to preempt_schedule()
> d0bb90f40dbf net: move xmit_recursion to per-task variable on -RT
> 88f1b110f64d ptrace: don't open IRQs in ptrace_freeze_traced() too early
> 816f701e4c91 Linux 3.14.61-rt63
>
> Have not investigated further yet; going to go test 3.10-rt since in
> theory it should have the same issue; it has the same commit.
> If it does, I'll follow up the announce for it with similar details.

So, to summarize 3.10-rt has the issue, 3.14-rt has the issue, but
3.18-rt and 4.1-rt do not have the issue.

Hopefully that helps to narrow it down.

Paul.
--

>
> Paul.
> --
>
>>
>>
>> This release is just an update to the new stable 3.14.64 version
>> and no RT specific changes have been made.
>>
>>
>> You can get this release via the git tree at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
>>
>>   branch: v3.14-rt
>>   Head SHA1: f1d2391d1c641f19c1e548c6daec89d53093291f
>>
>>
>> Or to build 3.14.64-rt67 directly, the following patches should be applied:
>>
>>   http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.xz
>>
>>   http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.14.64.xz
>>
>>   http://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.64-rt67.patch.xz
>>
>>
>>
>>
>> Enjoy,
>>
>> -- Steve
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [ANNOUNCE] 3.14.64-rt67
  2016-03-15 23:25   ` Paul Gortmaker
@ 2016-03-16  2:50     ` Paul Gortmaker
  2016-03-16 16:21       ` Josh Cartwright
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Gortmaker @ 2016-03-16  2:50 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: LKML, linux-rt-users, Thomas Gleixner, Carsten Emde, John Kacur,
	Sebastian Andrzej Siewior

On Tue, Mar 15, 2016 at 7:25 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:
> On Tue, Mar 15, 2016 at 5:45 PM, Paul Gortmaker
> <paul.gortmaker@windriver.com> wrote:
>> On Mon, Mar 14, 2016 at 11:49 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
>>>
>>> Dear RT Folks,
>>>
>>> 3.14 release on PI(E) Day!
>>>
>>> I'm pleased to announce the 3.14.64-rt67 stable release.
>>
>> Testing this with what is largely a x86-64 defconfig but with RT_FULL,
>> I now see:
>>
>> root@dell760-paul:~# dmesg|grep NOH
>> [    8.605854] NOHZ: local_softirq_pending 100
>> [    8.732677] NOHZ: local_softirq_pending 100
>> [    8.852729] NOHZ: local_softirq_pending 100
>> [    8.963964] NOHZ: local_softirq_pending 100
>> [    9.061892] NOHZ: local_softirq_pending 100
>> [    9.184921] NOHZ: local_softirq_pending 100
>> [    9.370958] NOHZ: local_softirq_pending 100
>> [    9.657811] NOHZ: local_softirq_pending 100
>> [    9.942631] NOHZ: local_softirq_pending 100
>> [   10.783710] NOHZ: local_softirq_pending 100
>> root@dell760-paul:~#
>>
>> ...early in boot (we cap them after ~10 msgs).
>>
>> I think 100 is RCU if I did my bit counting properly; remind
>> me to submit a patch that uses the human readable names.
>>
>> I had a good hunch which commit was responsible but I did
>> a check of it and the one directly underneath it to be sure,
>> and the latter boots w/o any pending messages.
>>
>> git log --oneline  v3.14-rt ^v3.14.64
>> [...]
>> 0a80a6849f19 latencyhist: disable jump-labels
>> a884ef48e1ca net: provide a way to delegate processing a softirq to ksoftirqd
>> 780d7ca2fdb0 softirq: split timer softirqs out of ksoftirqd    <------
>> *** fail ***

Oh, and for the record, a884ef directly above relies on 780d7, so one has to
disable both if they want to test the rest of the queue of patches.

Paul.
--

>> 13ad3a61e2c2 preempt-lazy: Add the lazy-preemption check to preempt_schedule()
>> d0bb90f40dbf net: move xmit_recursion to per-task variable on -RT
>> 88f1b110f64d ptrace: don't open IRQs in ptrace_freeze_traced() too early
>> 816f701e4c91 Linux 3.14.61-rt63
>>
>> Have not investigated further yet; going to go test 3.10-rt since in
>> theory it should have the same issue; it has the same commit.
>> If it does, I'll follow up the announce for it with similar details.
>
> So, to summarize 3.10-rt has the issue, 3.14-rt has the issue, but
> 3.18-rt and 4.1-rt do not have the issue.
>
> Hopefully that helps to narrow it down.
>
> Paul.
> --
>
>>
>> Paul.
>> --
>>
>>>
>>>
>>> This release is just an update to the new stable 3.14.64 version
>>> and no RT specific changes have been made.
>>>
>>>
>>> You can get this release via the git tree at:
>>>
>>>   git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
>>>
>>>   branch: v3.14-rt
>>>   Head SHA1: f1d2391d1c641f19c1e548c6daec89d53093291f
>>>
>>>
>>> Or to build 3.14.64-rt67 directly, the following patches should be applied:
>>>
>>>   http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.tar.xz
>>>
>>>   http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.14.64.xz
>>>
>>>   http://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.64-rt67.patch.xz
>>>
>>>
>>>
>>>
>>> Enjoy,
>>>
>>> -- Steve
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [ANNOUNCE] 3.14.64-rt67
  2016-03-16  2:50     ` Paul Gortmaker
@ 2016-03-16 16:21       ` Josh Cartwright
  0 siblings, 0 replies; 5+ messages in thread
From: Josh Cartwright @ 2016-03-16 16:21 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: Steven Rostedt, LKML, linux-rt-users, Thomas Gleixner,
	Carsten Emde, John Kacur, Sebastian Andrzej Siewior

On Tue, Mar 15, 2016 at 10:50:31PM -0400, Paul Gortmaker wrote:
> On Tue, Mar 15, 2016 at 7:25 PM, Paul Gortmaker
> <paul.gortmaker@windriver.com> wrote:
> > On Tue, Mar 15, 2016 at 5:45 PM, Paul Gortmaker
> > <paul.gortmaker@windriver.com> wrote:
> >> On Mon, Mar 14, 2016 at 11:49 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> >>>
> >>> Dear RT Folks,
> >>>
> >>> 3.14 release on PI(E) Day!
> >>>
> >>> I'm pleased to announce the 3.14.64-rt67 stable release.
> >>
> >> Testing this with what is largely a x86-64 defconfig but with RT_FULL,
> >> I now see:
> >>
> >> root@dell760-paul:~# dmesg|grep NOH
> >> [    8.605854] NOHZ: local_softirq_pending 100
> >> [    8.732677] NOHZ: local_softirq_pending 100
> >> [    8.852729] NOHZ: local_softirq_pending 100
> >> [    8.963964] NOHZ: local_softirq_pending 100
> >> [    9.061892] NOHZ: local_softirq_pending 100
> >> [    9.184921] NOHZ: local_softirq_pending 100
> >> [    9.370958] NOHZ: local_softirq_pending 100
> >> [    9.657811] NOHZ: local_softirq_pending 100
> >> [    9.942631] NOHZ: local_softirq_pending 100
> >> [   10.783710] NOHZ: local_softirq_pending 100
> >> root@dell760-paul:~#
> >>
> >> ...early in boot (we cap them after ~10 msgs).
> >>
> >> I think 100 is RCU if I did my bit counting properly; remind
> >> me to submit a patch that uses the human readable names.

As mentioned on IRC, 100 is HRTIMER_SOFTIRQ, which I think makes more
sense...at least it meshes better with the commit you identified as
being problematic.

> >>
> >> I had a good hunch which commit was responsible but I did
> >> a check of it and the one directly underneath it to be sure,
> >> and the latter boots w/o any pending messages.
> >>
> >> git log --oneline  v3.14-rt ^v3.14.64
> >> [...]
> >> 0a80a6849f19 latencyhist: disable jump-labels
> >> a884ef48e1ca net: provide a way to delegate processing a softirq to ksoftirqd
> >> 780d7ca2fdb0 softirq: split timer softirqs out of ksoftirqd    <------
> >> *** fail ***

Looking at the places where HRTIMER_SOFTIRQ is raised, it did look like
there is at least one case where a hrtimer started from process context
would cause HRTIMER_SOFTIRQ to be set pending, but the associated
ktimersoftirq/N not woken, which seems problematic.

  Josh

diff --git a/kernel/softirq.c b/kernel/softirq.c
index 7abfdab..d91f378 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -749,7 +749,7 @@ void raise_softirq_irqoff(unsigned int nr)
 	 *
 	 */
 	if (!current->softirq_nestcnt)
-		wakeup_softirqd();
+		wakeup_proper_softirq(nr);
 }
 
 static inline int ksoftirqd_softirq_pending(void)

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

end of thread, other threads:[~2016-03-16 16:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14 15:49 [ANNOUNCE] 3.14.64-rt67 Steven Rostedt
2016-03-15 21:45 ` Paul Gortmaker
2016-03-15 23:25   ` Paul Gortmaker
2016-03-16  2:50     ` Paul Gortmaker
2016-03-16 16:21       ` Josh Cartwright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).