Message ID | 1527095286-5165-1-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 CEC5460327 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 23 May 2018 17:08:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C065C28B8A for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 23 May 2018 17:08:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B464028BB8; Wed, 23 May 2018 17:08:19 +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 2DF3028B8A for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 23 May 2018 17:08:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 570776B026D; Wed, 23 May 2018 13:08:18 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 51F616B026E; Wed, 23 May 2018 13:08:18 -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 40E276B026F; Wed, 23 May 2018 13:08:18 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf0-f197.google.com (mail-pf0-f197.google.com [209.85.192.197]) by kanga.kvack.org (Postfix) with ESMTP id 011A76B026D for <linux-mm@kvack.org>; Wed, 23 May 2018 13:08:18 -0400 (EDT) Received: by mail-pf0-f197.google.com with SMTP id x23-v6so13363117pfm.7 for <linux-mm@kvack.org>; Wed, 23 May 2018 10:08:17 -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; bh=XRMIRY7Bl0mnuZDmDjxg/oXpZPKnlUTZJQQhFU+roes=; b=TR8CCHB74UuX2M0FkLBd+0rbBR1qNHiAn1SmNHI/rupUrkKRwBCfDLJ5gpPPG/4FrZ 3i7RQNAxS2emaDs1QVykUQdwcUvDocgrkk1+O/TfQM6a5+a60W4us6a9+Ucq+N1PnwX1 5B61rUbICFWYt42A7DHLDBpo0dodbTpbiuJU8DXlpkXJJcjJTZhVvdgQpYnX0eQfIRkB kB0hRLuKS92skodUb773RhazSzwAPvT8F5xNoqHanGu9KLFPV35Yj51RyMd8aRCYyYCI 2FJd/9+Kt934feXNUb3VpmacW/063j2p5Ag4mvNWX3IwsNLhstkUdgf9EKG2rDUpH6C5 e+oA== X-Gm-Message-State: ALKqPwf765mKE7lgcrknoZS++MwFouhbbRFyPJngkJPYNcufCfbaKnAo m8FdPQluUE2Zj3ODR6vmopM3WNYVp+xHy0nkkVz4gGV0SZo1InmIZqrDieWlqTHwQUG6SAy+ouM JG9q1TaXSpgX7VznAeCXNEjsoy1uIf2mVgLYDcwqeHG/Emt7rQRymNuRpc70AshBboMBNzmalK+ pU3CuT1x0PbDtNx+nkRxTJSXffKDLZQA3b0L9eKfE5c31FkzUmJLrg16rla0spME5nvsTOEDRD3 +kCnGzDU/ds/QhIeamwBpfA1Fdep26V0PFdSWkzFPb44shfq1lNCoI8o2AR6QIy3/BfZIk7fiBy wEXEmfshHOvrnFmbzm4wEJtIxmJN67Nz0+z+QRvqJlVU14Ccmu6WgNBkE8IGWRG7D0xWqB6H+Vr s X-Received: by 2002:a62:404f:: with SMTP id n76-v6mr3696626pfa.185.1527095297695; Wed, 23 May 2018 10:08:17 -0700 (PDT) X-Received: by 2002:a62:404f:: with SMTP id n76-v6mr3696553pfa.185.1527095296507; Wed, 23 May 2018 10:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527095296; cv=none; d=google.com; s=arc-20160816; b=1GOyyxrq9j5ecUhrN6F4Xj9C29F2SMX8+j32INJLXiSQyouKMaU0tPuYmCD+mIIV+G iGCajXsCRzuPDxhkBMPSm6eVRVxHVCsJCn4tz4PR/puZoIVFMFyh1SWlTGjLNJvggems BTFWgqjsbxpNGXAQaKoD5ZAm93cUrRY+lo+iaLEZdj4j/TWR3oM7k1/TlIo2Sl+nUBgZ hlwycjJEKaiM5p6AY2zZhCqStJGzwG2xHQlIRvhtSgEeWkSMxDQHx6Ip2/3wV9Ro0q0K 2C06nofL3H4wziqFivY9JCWfqiKEAMdj2os5BCsPrBLi8um3r7ELlY+/+AztPdkuqLqd iI6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=XRMIRY7Bl0mnuZDmDjxg/oXpZPKnlUTZJQQhFU+roes=; b=JW7FCfVD9s5EJ7opdZrbKEyIcxDhBRlugWDbtWE4pdYfVbME4fBPjBWySk6S9ElgPL fRNQ8e8IJhGlgBkcjsbxOCE8IK1m/zo0ZypSiKRnXz0Oh1JRdJLXtbzGEtIYa0jazEet 2VGZv14jiCp/hvo0Qiv1KLTArgC4FgTgI60J30+ReH25LOZDUMcxeBA2Y4uKxJTHd1kQ whSXQgs4qr+ByUvEtPVg0WYSPc7VHlIuVgiIFwIGXxpCoRiTe0nOb/UvpFhlc/rWuikY 3DYsU2K/I+QsOUmfqrb67LaiylwRmp9Qr1bAw2DipJbcm9BHFLp2dd749xdF4gA5ncrB aAog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qmMTBpLO; 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 h3-v6sor5176840pgs.48.2018.05.23.10.08.16 for <linux-mm@kvack.org> (Google Transport Security); Wed, 23 May 2018 10:08:16 -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=qmMTBpLO; 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; bh=XRMIRY7Bl0mnuZDmDjxg/oXpZPKnlUTZJQQhFU+roes=; b=qmMTBpLOTVwN+5L19ioOFm7j+n8FYB8GhM7CpEvDo+qbdqoy/fqrySVsLjpCCJXIIt 5TB+YaXqhoEtrQFNu8e8bYIIKDTAVkgh0T/uQLDBO7ee+wXQnKTjOJV4iuWB8UdG9pLt zGE8xeioL+FQHU8Ror7j+Vsn2O+HgLD8NEBzrtDP0rud5R63VdSRKpgOXYjPEtEmhvNn O/8djD0Qp2Ct+XI/YK7SvpUtDa2ErGPVhfEsZC6rj415mgEWvaC9RzTi+OyfNZtEGU+5 Q2S9epiY5ANUc80RHtMUVOwN0YXeruFOdZgW18fmNp96lFGZblW9b4s5NqW7/Widyiul LO6g== X-Google-Smtp-Source: AB8JxZohldhYpTuP/qY+cqPYNnVVtPnSwSfkvn4RPMN9x+oJvENdMuT7FuqSllge3G3xSzZIi2d6GA== X-Received: by 2002:a65:4309:: with SMTP id j9-v6mr2924042pgq.375.1527095296284; Wed, 23 May 2018 10:08:16 -0700 (PDT) Received: from localhost.localdomain ([123.120.56.60]) by smtp.gmail.com with ESMTPSA id f17-v6sm24932313pgt.71.2018.05.23.10.08.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 10:08:15 -0700 (PDT) From: Huaisheng Ye <yehs2007@gmail.com> To: akpm@linux-foundation.org, linux-mm@kvack.org Cc: mhocko@suse.com, willy@infradead.org, hch@lst.de, vbabka@suse.cz, mgorman@techsingularity.net, kstewart@linuxfoundation.org, 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>, Philippe Ombredanne <pombredanne@nexb.com>, Christoph Hellwig <hch@infradead.org> Subject: [RFC PATCH v3 8/9] include/linux/highmem.h: update usage of movableflags Date: Thu, 24 May 2018 01:08:06 +0800 Message-Id: <1527095286-5165-1-git-send-email-yehs2007@gmail.com> X-Mailer: git-send-email 1.8.3.1 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/include/linux/highmem.h b/include/linux/highmem.h index 0690679..5383c9e 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -159,8 +159,8 @@ static inline void clear_user_highpage(struct page *page, unsigned long vaddr) struct vm_area_struct *vma, unsigned long vaddr) { - struct page *page = alloc_page_vma(GFP_HIGHUSER | movableflags, - vma, vaddr); + struct page *page = alloc_page_vma(movableflags ? + GFP_HIGHUSER_MOVABLE : GFP_HIGHUSER, vma, vaddr); if (page) clear_user_highpage(page, vaddr);