Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299317 > unrolled thread

Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"

Started byAndy Lutomirski <luto@kernel.org>
First post2015-12-30 12:20 +0100
Last post2016-01-01 00:10 +0100
Articles 4 — 4 participants

Back to article view | Back to linux.kernel


Contents

  Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection" Andy Lutomirski <luto@kernel.org> - 2015-12-30 12:20 +0100
    Re: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection" Nicolai Stange <nicstange@gmail.com> - 2015-12-30 12:40 +0100
      Re: Linux 4.4-rc4 regression, bisected to "net: fix  sock_wake_async() rcu protection" Eric Dumazet <eric.dumazet@gmail.com> - 2015-12-30 15:00 +0100
        Re: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async()  rcu protection" Linus Torvalds <torvalds@linux-foundation.org> - 2016-01-01 00:10 +0100

#1299317 — Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"

FromAndy Lutomirski <luto@kernel.org>
Date2015-12-30 12:20 +0100
SubjectLinux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"
Message-ID<qLmXn-5SI-1@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1299332

FromNicolai Stange <nicstange@gmail.com>
Date2015-12-30 12:40 +0100
Message-ID<qLngJ-60i-9@gated-at.bofh.it>
In reply to#1299317
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1299371 — Re: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"

FromEric Dumazet <eric.dumazet@gmail.com>
Date2015-12-30 15:00 +0100
SubjectRe: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"
Message-ID<qLpsd-7lJ-1@gated-at.bofh.it>
In reply to#1299332
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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1299797 — Re: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"

FromLinus Torvalds <torvalds@linux-foundation.org>
Date2016-01-01 00:10 +0100
SubjectRe: Linux 4.4-rc4 regression, bisected to "net: fix sock_wake_async() rcu protection"
Message-ID<qLUw2-2hR-3@gated-at.bofh.it>
In reply to#1299371
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web