* Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"
@ 2015-12-30 11:18 Andy Lutomirski
2015-12-30 11:32 ` Nicolai Stange
0 siblings, 1 reply; 4+ messages in thread
From: Andy Lutomirski @ 2015-12-30 11:18 UTC (permalink / raw)
To: linux-kernel, Network Development, Dmitry Vyukov, Eric Dumazet,
David S. Miller, Linus Torvalds
On recent v4.4-rc releases, I can't run emacs. No, really, running
"emacs" in a GNOME 3 session makes gnome-shell think that emacs is
running, but no window is drawn, and the overall system UI is a bit
weird when the invisible emacs window is focused.
This is 100% reproducible.
There might be other symptoms involving gdb malfunctioning, but those
are, at best, sporadic. The emacs failure is entirely reliable. I
have no idea what the underlying failure mode is, but failure to wake
a socket waiter seems plausible, I also have no idea why oocalc,
gimp, vim, gedit, firefox, etc aren't affected.
A somewhat unorthodox "git bisect" run blames:
commit ceb5d58b217098a657f3850b7a2640f995032e62
Author: Eric Dumazet <edumazet@google.com>
Date: Sun Nov 29 20:03:11 2015 -0800
net: fix sock_wake_async() rcu protection
I've confirmed that v4.4-rc7 with that patch reverted works fine.
Since the offending commit was apparently a security fix, simply
reverting it might not be the best idea.
--Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"
2015-12-30 11:18 Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection" Andy Lutomirski
@ 2015-12-30 11:32 ` Nicolai Stange
2015-12-30 13:55 ` Eric Dumazet
0 siblings, 1 reply; 4+ messages in thread
From: Nicolai Stange @ 2015-12-30 11:32 UTC (permalink / raw)
To: Andy Lutomirski
Cc: linux-kernel, Network Development, Dmitry Vyukov, Eric Dumazet,
David S. Miller, Linus Torvalds
Andy Lutomirski <luto@kernel.org> writes:
> On recent v4.4-rc releases, I can't run emacs. No, really, running
> "emacs" in a GNOME 3 session makes gnome-shell think that emacs is
> running, but no window is drawn, and the overall system UI is a bit
> weird when the invisible emacs window is focused.
>
> This is 100% reproducible.
>
> There might be other symptoms involving gdb malfunctioning, but those
> are, at best, sporadic. The emacs failure is entirely reliable. I
> have no idea what the underlying failure mode is, but failure to wake
> a socket waiter seems plausible, I also have no idea why oocalc,
> gimp, vim, gedit, firefox, etc aren't affected.
>
> A somewhat unorthodox "git bisect" run blames:
>
> commit ceb5d58b217098a657f3850b7a2640f995032e62
> Author: Eric Dumazet <edumazet@google.com>
> Date: Sun Nov 29 20:03:11 2015 -0800
>
> net: fix sock_wake_async() rcu protection
>
> I've confirmed that v4.4-rc7 with that patch reverted works fine.
>
> Since the offending commit was apparently a security fix, simply
> reverting it might not be the best idea.
Please have a look at https://lkml.kernel.org/g/87ege73bma.fsf@gmail.com
I ran into the same issue and this one fixes it for me.
Best,
Nicolai
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"
2015-12-30 11:32 ` Nicolai Stange
@ 2015-12-30 13:55 ` Eric Dumazet
2015-12-31 23:02 ` Linus Torvalds
0 siblings, 1 reply; 4+ messages in thread
From: Eric Dumazet @ 2015-12-30 13:55 UTC (permalink / raw)
To: Nicolai Stange
Cc: Andy Lutomirski, linux-kernel, Network Development,
Dmitry Vyukov, Eric Dumazet, David S. Miller, Linus Torvalds
On Wed, 2015-12-30 at 12:32 +0100, Nicolai Stange wrote:
> Andy Lutomirski <luto@kernel.org> writes:
>
> > On recent v4.4-rc releases, I can't run emacs. No, really, running
> > "emacs" in a GNOME 3 session makes gnome-shell think that emacs is
> > running, but no window is drawn, and the overall system UI is a bit
> > weird when the invisible emacs window is focused.
> >
> > This is 100% reproducible.
> >
> > There might be other symptoms involving gdb malfunctioning, but those
> > are, at best, sporadic. The emacs failure is entirely reliable. I
> > have no idea what the underlying failure mode is, but failure to wake
> > a socket waiter seems plausible, I also have no idea why oocalc,
> > gimp, vim, gedit, firefox, etc aren't affected.
> >
> > A somewhat unorthodox "git bisect" run blames:
> >
> > commit ceb5d58b217098a657f3850b7a2640f995032e62
> > Author: Eric Dumazet <edumazet@google.com>
> > Date: Sun Nov 29 20:03:11 2015 -0800
> >
> > net: fix sock_wake_async() rcu protection
> >
> > I've confirmed that v4.4-rc7 with that patch reverted works fine.
> >
> > Since the offending commit was apparently a security fix, simply
> > reverting it might not be the best idea.
>
> Please have a look at https://lkml.kernel.org/g/87ege73bma.fsf@gmail.com
>
> I ran into the same issue and this one fixes it for me.
Right, and the ozlabs pointers for this were :
v1:
https://patchwork.ozlabs.org/patch/561194/
v2:
https://patchwork.ozlabs.org/patch/561553/
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"
2015-12-30 13:55 ` Eric Dumazet
@ 2015-12-31 23:02 ` Linus Torvalds
0 siblings, 0 replies; 4+ messages in thread
From: Linus Torvalds @ 2015-12-31 23:02 UTC (permalink / raw)
To: Eric Dumazet
Cc: Nicolai Stange, Andy Lutomirski, linux-kernel,
Network Development, Dmitry Vyukov, Eric Dumazet,
David S. Miller
On Wed, Dec 30, 2015 at 5:55 AM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
> On Wed, 2015-12-30 at 12:32 +0100, Nicolai Stange wrote:
>>
>> Please have a look at https://lkml.kernel.org/g/87ege73bma.fsf@gmail.com
>>
>> I ran into the same issue and this one fixes it for me.
>
> Right, and the ozlabs pointers for this were :
> v2:
> https://patchwork.ozlabs.org/patch/561553/
Ok, that's merged into my tree through the networking merge today.
Andy, if you still see it with current -git, holler.
Linus
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-12-31 23:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-30 11:18 Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection" Andy Lutomirski
2015-12-30 11:32 ` Nicolai Stange
2015-12-30 13:55 ` Eric Dumazet
2015-12-31 23:02 ` Linus Torvalds
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).