Message ID | 1526916033-4877-13-git-send-email-yehs2007@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E202E60365 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 21 May 2018 15:23:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1A26289BA for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 21 May 2018 15:23:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CECBA28A18; Mon, 21 May 2018 15:23:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1F37289CE for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 21 May 2018 15:21:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A0E416B0010; Mon, 21 May 2018 11:21:44 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 996D76B0266; Mon, 21 May 2018 11:21:44 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 838066B0269; Mon, 21 May 2018 11:21:44 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl0-f70.google.com (mail-pl0-f70.google.com [209.85.160.70]) by kanga.kvack.org (Postfix) with ESMTP id 3C2EE6B0010 for <linux-mm@kvack.org>; Mon, 21 May 2018 11:21:44 -0400 (EDT) Received: by mail-pl0-f70.google.com with SMTP id q16-v6so10252001pls.15 for <linux-mm@kvack.org>; Mon, 21 May 2018 08:21:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references; bh=MpNDRl4E1M/mrUg0hQuHl9LIBUSIgjRXePNbjqlDH7A=; b=bgdRndB26EZA7Iu5IVanA245NEZNB5XScRHmStKBTCQETJkJSMh9ZcFH84l6iy0l9n QCp5bRyNsfnfLK4H+XlBq8DDJDGqMio2q1Po0Go4AQdJ87AhGgHvZtorOmHMpzTJoixC HlLB8fs6s3JEZzIE4xmONg7eJ8L9W0t/WKJzGi6lgbt0hJxpi4zIKWoXo08uDdpMQH94 LPiuHL44w8c5jb6IIJFMbZBa8VsJKljZ32NRSszZreZtzPpH+2OcONeoJmEEZtpBp435 UOJCZqO+iZwHy5/YNMmBanPfv7qPuMGR5m/6JUl5Nz15Ek54Lb0CE2TqS5swWhB63G3+ JafA== X-Gm-Message-State: ALKqPwf+J8PLRh/bPi8ViUH0DwflA6KJ33Wh6NVVOMWEyY6HZTuuZvr6 PYWZujdJslbznYj3JoaLupC5OsihEe6Hw/MD3iV6kbqoKpH9WK4jgbamK2rEQ+NUP+Y/jbhgrYa yoIUJzsm7v+wUT3yyTscCNVTciuNknDnuvduVSPUGh5ONBhr7As3FhhHr2SMhzxIG9plHY7oyd5 SuLZPaqs9n0kqN/wQSHsR3mUjViNNuet3QixliyrXNWAhKghcLObzLfWKdcoEzC8JgbwyK4Ovzd ahkc+sKj6wDK57ZEVVCPN2/M9H6CGJMd++td7y8mHBVQcogkpkzKtEFRAn/NN9nmIehUqgs3dms ovJbvZvzpuESJpPNenLKCNCtMSjjwzOtFEVY16ygXI8H3f6uVRilIIekqbmsyd/ok8j6xjn2tjf S X-Received: by 2002:a17:902:8a87:: with SMTP id p7-v6mr20487709plo.278.1526916103938; Mon, 21 May 2018 08:21:43 -0700 (PDT) X-Received: by 2002:a17:902:8a87:: with SMTP id p7-v6mr20487677plo.278.1526916103339; Mon, 21 May 2018 08:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526916103; cv=none; d=google.com; s=arc-20160816; b=TaKC9cxUACzYqFbzYgLDxBo+zC6kF06SreyGe4dCZtXLN9uFLvyIi1qje/oMYXtUvF egJtbSsHOuPIH8zNBMKE9haKB6xCp8/27zYhJO4RWpdlTK5RKV5FFSvSAEGqtmWwy1Mh JgXudfKjQO3FwVZCJ7kCPO2hK1M7dRZXRWcHM/bzmvQB0sCq+8LRrLFBulKbGlzJ2sHG p7045eHeBoit9hNuHZuxrOb6d9TKdNJemYqe3X0zE8dXqZUfxjhlzlvqV0yGJ++IRlkw QTFE/Za+za89fyzcAQrqrgwLS3EMzz74pBOn2oDDfWHz7e4lIWyN3uOV9x+nfUqoJ0+r UX2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=MpNDRl4E1M/mrUg0hQuHl9LIBUSIgjRXePNbjqlDH7A=; b=n0tR4dL/X1kzpU+8uJiPuI+juQW7SyVtCxh69UCN8H2XsG5syDuv1h8XmDWJXDfOdl fssnhdPJNxqICJFlZWJ+p69S9jH4dYEPrFNvzm/LFPootaKW3MfJ+/qKDgCHsyDNa9MH HHtRKcYATjuRoP21cRK0sYZ8evaJHF/xgjJDGoCVAX9F0dY2S8zHCOqqxU2mL5gEYe/9 1y3GR6uuhnRdgab9hmA94dLOKAhYyMNrSL2qRQJy210LBKIWK5oAyaqFmE+VMJe6pBvP +7euLhQVoaGflqYZLYhqt5FyzjLdp1S6ITX2WfaAKoOx6eCo4CQGVRLEb1XKnGYtCTYw CmPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NnAZW4eZ; spf=pass (google.com: domain of yehs2007@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=yehs2007@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i196-v6sor1080159pgc.8.2018.05.21.08.21.43 for <linux-mm@kvack.org> (Google Transport Security); Mon, 21 May 2018 08:21:43 -0700 (PDT) Received-SPF: pass (google.com: domain of yehs2007@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NnAZW4eZ; spf=pass (google.com: domain of yehs2007@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=yehs2007@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MpNDRl4E1M/mrUg0hQuHl9LIBUSIgjRXePNbjqlDH7A=; b=NnAZW4eZSSGo1xsuE/pCBTIS0gf0mgbrtxDJlD7uPw7eLmgsqMXCEoUwqHS/Wo9Yg8 INmNro1Vc1ldUP0ws7M3yTam467qest7ss8GrSpCK8a9N2XCMQGmBqveJtmOKyZinAx0 5PwSMg3bHQjniaZ7YOEXgtGbseBU2bkNqGoJ+gxB/La+BvCrQXShGYQR38hlnTkQsJ9Y aKtfZG+/O+78J/cO0x0Ttn5jWIUmE8xtwlPopiRcErnG+mOPoj0Bmx+lV3Yb0+2mkJW2 04M2zwjNQs6eYJDCclMUafCpQ8+aXWug179ilPKPwaz6C3oKI4ZCoOtbvmQGHODrv0K4 PljA== X-Google-Smtp-Source: AB8JxZqCK9UEPw6+CqPXvtA/McyYSGkuRyzwycl24jNkYHi1zj9XsFI3HBgHG/WrxTFDZ9BBt74Ceg== X-Received: by 2002:a65:4309:: with SMTP id j9-v6mr15903069pgq.375.1526916103120; Mon, 21 May 2018 08:21:43 -0700 (PDT) Received: from localhost.localdomain ([125.33.105.40]) by smtp.gmail.com with ESMTPSA id t14-v6sm30844344pfh.109.2018.05.21.08.21.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 08:21:42 -0700 (PDT) From: Huaisheng Ye <yehs2007@gmail.com> To: akpm@linux-foundation.org, linux-mm@kvack.org Cc: mhocko@suse.com, willy@infradead.org, vbabka@suse.cz, mgorman@techsingularity.net, kstewart@linuxfoundation.org, alexander.levin@verizon.com, gregkh@linuxfoundation.org, colyli@suse.de, chengnt@lenovo.com, hehy1@lenovo.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, xen-devel@lists.xenproject.org, linux-btrfs@vger.kernel.org, Huaisheng Ye <yehs1@lenovo.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>, "x86@kernel.org" <x86@kernel.org>, Philippe Ombredanne <pombredanne@nexb.com> Subject: [RFC PATCH v2 12/12] arch/x86/include/asm/page.h: update usage of movableflags Date: Mon, 21 May 2018 23:20:33 +0800 Message-Id: <1526916033-4877-13-git-send-email-yehs2007@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1526916033-4877-1-git-send-email-yehs2007@gmail.com> References: <1526916033-4877-1-git-send-email-yehs2007@gmail.com> 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: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/x86/include/asm/page.h b/arch/x86/include/asm/page.h index 7555b48..a47f42d 100644 --- a/arch/x86/include/asm/page.h +++ b/arch/x86/include/asm/page.h @@ -35,7 +35,8 @@ static inline void copy_user_page(void *to, void *from, unsigned long vaddr, } #define __alloc_zeroed_user_highpage(movableflags, vma, vaddr) \ - alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr) + alloc_page_vma((movableflags ? GFP_HIGHUSER_MOVABLE : GFP_HIGHUSER) \ + | __GFP_ZERO, vma, vaddr) #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE #ifndef __pa