Re: [PATCH] lock_page() doesn't lock if __wait_on_bit_lock returns -EINTR

From: Chris Mason
Date: Sun Dec 13 2015 - 10:57:15 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/