[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151213155554.GA2733@ret.masoncoding.com>
Date: Sun, 13 Dec 2015 10:55:54 -0500
From: Chris Mason <clm@...com>
To: Peter Zijlstra <peterz@...radead.org>
CC: Linus Torvalds <torvalds@...ux-foundation.org>,
Dave Jones <dsj@...com>, LKML <linux-kernel@...r.kernel.org>,
Jon Christopherson <jon@...s.org>, NeilBrown <neilb@...e.de>,
Ingo Molnar <mingo@...nel.org>,
David Howells <dhowells@...hat.com>,
Steven Whitehouse <swhiteho@...hat.com>
Subject: Re: [PATCH] lock_page() doesn't lock if __wait_on_bit_lock returns
-EINTR
On Sun, Dec 13, 2015 at 10:50:01AM +0100, Peter Zijlstra wrote:
> On Sat, Dec 12, 2015 at 11:41:26AM -0800, Linus Torvalds wrote:
> > It looks like PeterZ's pending patch should fix this, by passing in
> > the proper TASK_UNINTERRUPTIBLE to the bit_wait_io function, and going
> > back to signal_pending_state(). PeterZ, did I follow the history of
> > this correctly?
>
> Yes. I made a right mess of things with my 'fix'.
Our two fixes together made it overnight. So at least for the
lock_page() case things are extra super fixed.
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists