Message ID | 20190114125903.24845-4-david@redhat.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-2.web.codeaurora.org (Postfix) with ESMTP id 3A14A14E5 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 14 Jan 2019 12:59:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CA4128837 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 14 Jan 2019 12:59:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 207A728880; Mon, 14 Jan 2019 12:59:43 +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=-2.9 required=2.0 tests=BAYES_00,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 2CB6628837 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 14 Jan 2019 12:59:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9B1848E0006; Mon, 14 Jan 2019 07:59:39 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 937968E0002; Mon, 14 Jan 2019 07:59:39 -0500 (EST) 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 7D9DB8E0006; Mon, 14 Jan 2019 07:59:39 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by kanga.kvack.org (Postfix) with ESMTP id 509AF8E0002 for <linux-mm@kvack.org>; Mon, 14 Jan 2019 07:59:39 -0500 (EST) Received: by mail-qk1-f197.google.com with SMTP id s14so16473721qkl.16 for <linux-mm@kvack.org>; Mon, 14 Jan 2019 04:59:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=SiXa6ye3Ol1dnVnnyLYOBt3W1Eh9qMmGNo7U5KksCQ8=; b=KHbefJgUFBkhYPPOVgwyFVG5Hu8VN/N2pyvz74d+mXY1URUslyPbgk4FTX+AXyVINV c0eZ1PaF6/Oya4gkFGLMTkB/pRRxz7+6uBG01G8dl8tjkdrfG0yoZ40bmqWK5OS3N/Jk qYd2htNhExjeo3H/1D2/FMK4aL64j3xLJUZNg8Rl3gS4wyBFeXwglOi/I/WWWkF2WwbP XRdXC7IDwGlh2BJ59LzVBbCJ3OxYVf3Q3qnJSPOqm9Yzj1/gUqq1The7l9WBWLvlRFCG x0EbNIlXXA2TEu3G3mWIZZKi/TM7YPOKoePUoGnIMQMFHlwVKz1LlIaJol8Yybk1csbj 5SoQ== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of david@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Gm-Message-State: AJcUukf9CP7pSm3IulpuqzjCIMFLa6TKD0JZgSTARdvmdqd1l6jjsqID cLUpxIQuCBlK5KVAY7dWFNXqrAOPIk9pT2iM3vZzKlFoR1ZODSDyfvn2I4DmNDAXdR9724uBHkz k46H3nwSAPa2zRDn/azkGKD2nueX8q7wjlc/yw44HJ74K+80ZNrO/RDEhIhq9jW+uCg== X-Received: by 2002:a37:6442:: with SMTP id y63mr22237839qkb.119.1547470779087; Mon, 14 Jan 2019 04:59:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN7i9SLQsVxSVo/cSryMUPaePyBHotBYyeaqFhB73b0ET4uJnNCUUbl8FbwvhK90qgSlOvca X-Received: by 2002:a37:6442:: with SMTP id y63mr22237812qkb.119.1547470778515; Mon, 14 Jan 2019 04:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547470778; cv=none; d=google.com; s=arc-20160816; b=Yz2i8rOW3SQDdYTNkwfPNiKyQCzVrBvTelp5MZFDjkmXh6J/MftaZYuo178fqaZLkQ CLlUzhzEs2oqb3ZuFUbBrX5wQIBMYUCHFtWKYEgiXaUBUOd84GEWcIQcL/MEifgHPBQH dTPj68kcK2NdkdQC31+6Egbe+7QK473WiY1BaNnBAvMqIY7bG6JuSm0IqyrCqx4uaOL7 mL/fTC18rH97VYMh9rx1WEdKzi4V1XaPgSQyo5Rg2A+aA5W7EpjFpkS4fH5s1ixgNkTt 5wXd5D1UjzWUpoUCD8DZgkJLlOjtXd473+A/KsrJ718+KwYqsSiltWOPYtbBTRaB1OBo M/lw== 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; bh=SiXa6ye3Ol1dnVnnyLYOBt3W1Eh9qMmGNo7U5KksCQ8=; b=JzgEVBa0qsX6Q1Fjb0TtFgCBWBd5fck/QLilLY4AUZ8zfjy4FRxeooknb9nXdgmEBi 0/10Ful50ss7nJKGZouXsHQot7SS9WS1B6BarAaOWQEiec+G/uGYVTUX/15sCB8SJbCG GMW2cL29t+XGDI5+rdO9Y90B6wresTv1x/K3saosTKlySNa1VRPo2E2pST3avDlxn8S8 V0sJeNy69hTmi0S/pBhWkTzCN7puwSE+wug6ikATiK6UaQfSqYDxEFeCSDYr6hZaK8tv gFmBRggF8x7hvaV5VDw/Nx278tnHz6lO1bawq29WYabYjjhKO0E0iTF/ULZNymAEHx15 +Zug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of david@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id 88si5086130qte.245.2019.01.14.04.59.38 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 04:59:38 -0800 (PST) Received-SPF: pass (google.com: domain of david@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of david@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A21D681127; Mon, 14 Jan 2019 12:59:37 +0000 (UTC) Received: from t460s.redhat.com (unknown [10.36.118.91]) by smtp.corp.redhat.com (Postfix) with ESMTP id 747895D76A; Mon, 14 Jan 2019 12:59:34 +0000 (UTC) From: David Hildenbrand <david@redhat.com> To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-m68k@lists.linux-m68k.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-mediatek@lists.infradead.org, David Hildenbrand <david@redhat.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, Michael Ellerman <mpe@ellerman.id.au>, Christophe Leroy <christophe.leroy@c-s.fr>, Kees Cook <keescook@chromium.org>, Andrew Morton <akpm@linux-foundation.org>, Michal Hocko <mhocko@kernel.org>, Matthew Wilcox <willy@infradead.org> Subject: [PATCH v2 3/9] powerpc/vdso: don't clear PG_reserved Date: Mon, 14 Jan 2019 13:58:57 +0100 Message-Id: <20190114125903.24845-4-david@redhat.com> In-Reply-To: <20190114125903.24845-1-david@redhat.com> References: <20190114125903.24845-1-david@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 14 Jan 2019 12:59:37 +0000 (UTC) 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 |
Series |
mm: PG_reserved cleanups and documentation
|
expand
|
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index 7725a9714736..a31b6234fcd7 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c @@ -798,7 +798,6 @@ static int __init vdso_init(void) BUG_ON(vdso32_pagelist == NULL); for (i = 0; i < vdso32_pages; i++) { struct page *pg = virt_to_page(vdso32_kbase + i*PAGE_SIZE); - ClearPageReserved(pg); get_page(pg); vdso32_pagelist[i] = pg; } @@ -812,7 +811,6 @@ static int __init vdso_init(void) BUG_ON(vdso64_pagelist == NULL); for (i = 0; i < vdso64_pages; i++) { struct page *pg = virt_to_page(vdso64_kbase + i*PAGE_SIZE); - ClearPageReserved(pg); get_page(pg); vdso64_pagelist[i] = pg; }