Received: by 10.223.176.5 with SMTP id f5csp716840wra; Fri, 9 Feb 2018 06:09:12 -0800 (PST) X-Google-Smtp-Source: AH8x226Ei0Fy/VeB5Tb3OfxPTT5WFs6k254vS02JqlnTV55fes33lLcEMVvz1jQC+X5Vd9PZHK56 X-Received: by 10.99.67.197 with SMTP id q188mr2415825pga.255.1518185352808; Fri, 09 Feb 2018 06:09:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518185352; cv=none; d=google.com; s=arc-20160816; b=FeI0fe0TxuTvu3aJzGTO3reivZo4mnqCIwY5zgs15esOJelOXCqLnkUVeboUXXm/EN Fu+ketyN7p4iYjZ0wysvRfk8W4lP1E9CSduM91bN0Bou3GrElcvnpHdr1MHy4Gti5VYr Qo17l8yEZwSCcT7JK8YINFEbriDsa5OtgPOloDRpP2hVzUk4tpx6WUclT5mHXmq5Wtld gAyfPOn9VIaFHo+8E66ZAfveKBwq5vHboyMB81javMdwqUrRUG2OmXGpWvVJRfF2K7iG xKccEBLyYxDTlupBGml9zy2nHM/sL1aPDyX9AmI7ysyk1xp8F6JNm9twhA9bCKXeHk2g mwoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=S9VyUe7eLNNhBEGDEPiD/NaXYAIK7v27I/zy7Ofp9Q8=; b=DK1V4lns634/d07SrjHlgbOz59iDnKDmPCftru5ZNd+0K4kj4x3spHzlscsuvBCej+ l83yEGPl5pUwPPx3E2fr33cRrUqbQEYWjt9T6DSUKFSi6yuWwD02bYtInyDKqxSYxprx bpJWeu2D2p7EVdFRWpsWcOk58hfqt+TVRHmFhleuc+GkzRS/7+AMh+aE9EtUz6ivqoI6 y0wGDcTtaBMxe0ImCxZ4ymah9C2obQE2K+K4oEYVcF41jZw2pbJ0puWIxbi7vV/qXPOy 16qjscmc97W+9mzh4q4/sgDnNhAl2PhUGl6Wxzc9Ebbvygu9+X7/MQCQjos75TBDiWGx KYiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=lf9vPRcb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61-v6si1585685pld.259.2018.02.09.06.08.55; Fri, 09 Feb 2018 06:09:12 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=lf9vPRcb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753393AbeBIOHd (ORCPT + 99 others); Fri, 9 Feb 2018 09:07:33 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:34801 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753265AbeBIOHb (ORCPT ); Fri, 9 Feb 2018 09:07:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=S9VyUe7eLNNhBEGDEPiD/NaXYAIK7v27I/zy7Ofp9Q8=; b=lf9vPRcbxmGuTbj+Ssxlei+bn Dda/duhJh7nG2QFfQ18x0Nc+ugwCazOF3bQpMzLEP81DsFJvbUnuSSHozdYuYvVpZ1sN7CYZcWZnq CSARLS8v1pZMCfvKmTLsl5hM/7pNSkWdzIhf1khGx9ryZ0pBgmYr0M2Iyd7Vsx7xuA53DNPrdoJKt 3b8u+goZzx+sYV85jdwhIXLxP14bT+dZiYLuXhUZ0wpsnxYCGXvVjErmD2Ujpom30gGBJ3ki/HJIH v/TipfmLnippcbJ1jG0np73egWAmFvC6iadYpOB8IMcbMU9X1iqBHMQLTgy3qru6HWLOUf5slWrZO qYJFt4l4Q==; Received: from willy by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1ek9Kq-0000cD-EW; Fri, 09 Feb 2018 14:07:28 +0000 Date: Fri, 9 Feb 2018 06:07:28 -0800 From: Matthew Wilcox To: Kai Heng Feng Cc: Michal Hocko , Laura Abbott , linux-mm@kvack.org, Linux Kernel Mailing List Subject: Re: Regression after commit 19809c2da28a ("mm, vmalloc: use __GFP_HIGHMEM implicitly") Message-ID: <20180209140728.GC16666@bombadil.infradead.org> References: <627DA40A-D0F6-41C1-BB5A-55830FBC9800@canonical.com> <20180208130649.GA15846@bombadil.infradead.org> <20180208232004.GA21027@bombadil.infradead.org> <20180209040814.GA23828@bombadil.infradead.org> <2DB8D5E5-0955-47CF-A142-09A5BA71DF70@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2DB8D5E5-0955-47CF-A142-09A5BA71DF70@canonical.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 09, 2018 at 05:12:56PM +0800, Kai Heng Feng wrote: > Hi Matthew, > > > On Feb 9, 2018, at 12:08 PM, Matthew Wilcox wrote: > > Alternatively, try this. It passes in GFP_DMA32 from vmalloc_32, > > regardless of whether ZONE_DMA32 exists or not. If ZONE_DMA32 doesn't > > exist, then we clear it in __vmalloc_area_node(), after using it to > > determine that we shouldn't set __GFP_HIGHMEM. > > IIUC, I need to let drivers/media drivers start using vmalloc_32() with your > patch, right? Hopefully those that need to already are. Otherwise they're broken on 64-bit. I do see several places already using vmalloc_32().