From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4AB7C2BA19 for ; Tue, 14 Apr 2020 15:13:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B19B82076D for ; Tue, 14 Apr 2020 15:13:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B19B82076D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 588B18E0020; Tue, 14 Apr 2020 11:13:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5397E8E0007; Tue, 14 Apr 2020 11:13:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4279F8E0020; Tue, 14 Apr 2020 11:13:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0026.hostedemail.com [216.40.44.26]) by kanga.kvack.org (Postfix) with ESMTP id 2775B8E0007 for ; Tue, 14 Apr 2020 11:13:49 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id E06632C81 for ; Tue, 14 Apr 2020 15:13:48 +0000 (UTC) X-FDA: 76706805336.21.field59_21433b3ec6c07 X-HE-Tag: field59_21433b3ec6c07 X-Filterd-Recvd-Size: 4199 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Tue, 14 Apr 2020 15:13:48 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id g12so6541884wmh.3 for ; Tue, 14 Apr 2020 08:13:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HmBLSR0xc1v+9c640X8yq/gCGBtmZiJRhg2yrai8Uso=; b=LnlugOUbD479CxMsRTnIfaQZIpl9cr2r0JrEHbdDq8n1Zay+mDXVuuYGsm3lPU9M9t Hf4V2Dbdngk5VMCUA+4M41+bQLoawmrtDNhY2qnmWKcyHwaJQuoBS3vsmxbe9NY32lqI +mvySlcmSyI6+A1oamYUhD0+BvflEN/GOMuzM3I2A6e4Bmc4ozgWRbLV886VVgomlbwN W/5omnCVzl1Hhqpw7zNhPOocM6If3hLSurewRSoVflYoww0T8uXPzJrxt6//vGBJtTSe AGa8dYMrMKh33haLNE8SS8wUVXv7ZqD6MqjrtBwC/laf06gmhQkumdDtYY4Mc7KOfJeo kAxQ== X-Gm-Message-State: AGi0Pua58d++Q+UsXJKdesJxdCa7+ofB+HX4mlpWadWWsQ9MwiEYoHOg SbDpLXI1COL1jdqKh5eJ/8Y= X-Google-Smtp-Source: APiQypKJS2zs752mK3EmkKLPxDY+LMikzE4AHuLMlZzMU6rlOFHrjCq5D1gZZCfYEUzJLxq6M+CEVA== X-Received: by 2002:a7b:c190:: with SMTP id y16mr393464wmi.50.1586877227391; Tue, 14 Apr 2020 08:13:47 -0700 (PDT) Received: from debian (44.142.6.51.dyn.plus.net. [51.6.142.44]) by smtp.gmail.com with ESMTPSA id t67sm20386094wmg.40.2020.04.14.08.13.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 08:13:46 -0700 (PDT) Date: Tue, 14 Apr 2020 16:13:44 +0100 From: Wei Liu To: Christoph Hellwig Cc: Andrew Morton , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , x86@kernel.org, David Airlie , Daniel Vetter , Laura Abbott , Sumit Semwal , Sakari Ailus , Minchan Kim , Nitin Gupta , Robin Murphy , Christophe Leroy , Peter Zijlstra , linuxppc-dev@lists.ozlabs.org, linux-hyperv@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Kelley , Gao Xiang Subject: Re: [PATCH 21/29] mm: remove the pgprot argument to __vmalloc Message-ID: <20200414151344.zgt2pnq7cjq2bgv6@debian> References: <20200414131348.444715-1-hch@lst.de> <20200414131348.444715-22-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200414131348.444715-22-hch@lst.de> User-Agent: NeoMutt/20180716 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Apr 14, 2020 at 03:13:40PM +0200, Christoph Hellwig wrote: > The pgprot argument to __vmalloc is always PROT_KERNEL now, so remove > it. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Michael Kelley [hyperv] > Acked-by: Gao Xiang [erofs] > Acked-by: Peter Zijlstra (Intel) > --- > arch/x86/hyperv/hv_init.c | 3 +-- [...] > > diff --git a/arch/x86/hyperv/hv_init.c b/arch/x86/hyperv/hv_init.c > index 5a4b363ba67b..a3d689dfc745 100644 > --- a/arch/x86/hyperv/hv_init.c > +++ b/arch/x86/hyperv/hv_init.c > @@ -95,8 +95,7 @@ static int hv_cpu_init(unsigned int cpu) > * not be stopped in the case of CPU offlining and the VM will hang. > */ > if (!*hvp) { > - *hvp = __vmalloc(PAGE_SIZE, GFP_KERNEL | __GFP_ZERO, > - PAGE_KERNEL); > + *hvp = __vmalloc(PAGE_SIZE, GFP_KERNEL | __GFP_ZERO); > } Acked-by: Wei Liu