From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by kanga.kvack.org (Postfix) with ESMTP id A4BC76B0253 for ; Fri, 21 Aug 2015 04:42:46 -0400 (EDT) Received: by wicne3 with SMTP id ne3so13513429wic.1 for ; Fri, 21 Aug 2015 01:42:46 -0700 (PDT) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id l10si3061750wij.50.2015.08.21.01.42.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Aug 2015 01:42:44 -0700 (PDT) Date: Fri, 21 Aug 2015 10:42:38 +0200 From: Johannes Weiner Subject: Re: [PATCH] mm, vmscan: unlock page while waiting on writeback Message-ID: <20150821084237.GA6619@cmpxchg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Andrew Morton , Michal Hocko , Mel Gorman , linux-mm@kvack.org On Wed, Aug 19, 2015 at 07:36:31PM -0700, Hugh Dickins wrote: > This is merely a politeness: I've not found that shrink_page_list() leads > to deadlock with the page it holds locked across wait_on_page_writeback(); > but nevertheless, why hold others off by keeping the page locked there? > > And while we're at it: remove the mistaken "not " from the commentary > on this Case 3 (and a distracting blank line from Case 2, if I may). > > Signed-off-by: Hugh Dickins Acked-by: Johannes Weiner -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org