Received: by 10.223.185.116 with SMTP id b49csp2051764wrg; Sun, 4 Mar 2018 17:06:43 -0800 (PST) X-Google-Smtp-Source: AG47ELtznI5VE1WBP/0hwQx370XfsV4ntIlgUqw/+vx+IEXKYMl4Fcpc5uYiqd1Iec+yZ6o9kvbU X-Received: by 10.99.123.80 with SMTP id k16mr11173923pgn.134.1520212003576; Sun, 04 Mar 2018 17:06:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520212003; cv=none; d=google.com; s=arc-20160816; b=c1w6cCaOiLhSj+fVslG5cJOW527Ck7YgEIkMWtMB9sHO4t7KAu9y6WAuUcKRW46xd1 CDI68tgBePQsT5hkhKE52rBifcNL4fQISjI7yrVwdrZzOMreuWpsJzlpuwS74K4P7sOm U1Nepw1jmMc9Zx+0qNe0iMX5El2wCwP/efBMDVjAFMG7Ai2pI9DJ6wecFYp709YOaVFZ JLWQ63A7ycdZqIVV7voH3zTQ7h2Xcj6LMMqu/6WQQfxbpPN2gdXUUXkoDRbgPOymXo8f ROYCYiQYqJ/bGH/eDM8AYYABY36lwDioQLVhhctU8WoYGUP4Fn4eKaD1aLKCH2NuydJU ZxCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=1vTE5AxBg6H9zU37nWhg0bzNA4PzCG8X4kQIaalJ/f4=; b=UJV5CsZRhDl5yXqNGmVCIsDB8Bln/Nd88PBWeFyEmcMCr25aN4o0osKpEw4h/pgyl/ WaOyp9cTxzwl8oQtM6tPRMZy4avbcSGN/fPwZMiLhzs4pyH2TsmhlmgkcJE1jUx1jtL0 YJMTehS67nZAz3rWi3O+maQVh+1vEdh5/2sUPuvHyHswFRYzqz0YFcFmx6rBDs6un6bH hpH2HYIEItFpwXU9kOtmzZ/w01jhutM2mwwe5Z1LRSe7Bzco4adcY195MTjLzf4qJ5Lh 8DAM8rjdwKJZ3fSTxUIqYFXsoc3b8kzLkZzqMNblahwm9sPDO873oxzv70+MyWsoIMEb ezqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si1992784pgu.501.2018.03.04.17.06.05; Sun, 04 Mar 2018 17:06:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932491AbeCEAiE (ORCPT + 99 others); Sun, 4 Mar 2018 19:38:04 -0500 Received: from imap1.codethink.co.uk ([176.9.8.82]:49945 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932345AbeCEAiD (ORCPT ); Sun, 4 Mar 2018 19:38:03 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126] helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1ese8i-0004nA-A5; Mon, 05 Mar 2018 00:38:04 +0000 Message-ID: <1520210279.2786.53.camel@codethink.co.uk> Subject: Re: [PATCH 4.4 035/108] dont put symlink bodies in pagecache into highmem From: Ben Hutchings To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Al Viro , Jin Qian , Jin Qian Date: Mon, 05 Mar 2018 00:37:59 +0000 In-Reply-To: <20180215151227.323543261@linuxfoundation.org> References: <20180215151222.267507937@linuxfoundation.org> <20180215151227.323543261@linuxfoundation.org> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-02-15 at 16:16 +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > ------------------ > > From: Al Viro > > commit 21fc61c73c3903c4c312d0802da01ec2b323d174 upstream. > > kmap() in page_follow_link_light() needed to go - allowing to hold > an arbitrary number of kmaps for long is a great way to deadlocking > the system. > > new helper (inode_nohighmem(inode)) needs to be used for pagecache > symlinks inodes; done for all in-tree cases.  page_follow_link_light() > instrumented to yell about anything missed. Except that this backport only updates ext4 and f2fs (and doesn't add the warning). I suppose that's all matters for Android, but it would be nice to get a more complete backport into 4.4-stable... Ben. > Signed-off-by: Al Viro > Signed-off-by: Jin Qian > Signed-off-by: Jin Qian > Signed-off-by: Greg Kroah-Hartman [...] -- Ben Hutchings Software Developer, Codethink Ltd.