Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751865AbbLMJuP (ORCPT ); Sun, 13 Dec 2015 04:50:15 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:60698 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbbLMJuK (ORCPT ); Sun, 13 Dec 2015 04:50:10 -0500 Date: Sun, 13 Dec 2015 10:50:01 +0100 From: Peter Zijlstra To: Linus Torvalds Cc: Chris Mason , Dave Jones , LKML , Jon Christopherson , NeilBrown , Ingo Molnar , David Howells , Steven Whitehouse Subject: Re: [PATCH] lock_page() doesn't lock if __wait_on_bit_lock returns -EINTR Message-ID: <20151213095001.GI6357@twins.programming.kicks-ass.net> References: <20151212162342.GF11257@ret.masoncoding.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 591 Lines: 12 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'. -- 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/