[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wi8Q8xtZt1iKcqSaV1demDnyixXT+GyDZi-Lk61K3+9rw@mail.gmail.com>
Date: Tue, 18 Feb 2020 10:28:23 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: Andrei Vagin <avagin@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Sasha Levin <sashal@...nel.org>,
stable <stable@...r.kernel.org>,
Josh Triplett <josh@...htriplett.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH AUTOSEL 5.5 542/542] pipe: use exclusive waits when
reading or writing
On Tue, Feb 18, 2020 at 10:20 AM Matthew Wilcox <willy@...radead.org> wrote:
>
> You don't want to move wake_up_partner() up and call it from pipe_release()?
I was actually thinking of going the other way - two of three users of
wake_up_partner() are redundantly waking up the wrong side, and the
third user is pointlessly written too.
So I was _thinking_ of a patch like the appended (which is on top of
the previous patch), but ended up not doing it. Until you brought it
up.
But I won't bother committing this, since it shouldn't really matter.
Linus
View attachment "patch.diff" of type "text/x-patch" (1656 bytes)
Powered by blists - more mailing lists