Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3543773imu; Mon, 14 Jan 2019 05:02:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN5y7dgtMSiwVoJOEJuB524GTlH5kPO16p+b1lpRS+6FdwHUriYcIlzCEKeFMxOgBo9jJoBl X-Received: by 2002:a63:f615:: with SMTP id m21mr23217249pgh.428.1547470964294; Mon, 14 Jan 2019 05:02:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547470964; cv=none; d=google.com; s=arc-20160816; b=Zn1V1j/Wbn4rMwe+BsVfKYxwJ0MUMZh2hhztWnHG/Up88ovrwemn03bBNV5MyYy04n e/RFhN5uR/H0dUa4KJpIc62EsWpXuSeptdyWtQjMiJ2/WiHU2n6l3NKKdO7XLAsCl3oB PuqW1P5bDC3gUJUGTwiS+EsCytZ/sk5XpiEh3PWjjbmP+uEV4kSqypo+nwcvdLppiqbc tSxkY39tt7PHf+z4hyCrxy3Wj4dFzG5mt9bo7SF8zH00bcKwmlZ3LuVuRVkrjWdNYSNv eTHbonsFIfdp9BHnQKnTozY+e7xohsR9i+YfErIZRQqFO6qyq0kUs7Xar/2ufX3V1vIf JvKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=HxJPCFZB3tH21nUHqDn7erS1Lk9q4hsCe3xmXSx/ds4=; b=1LPWhbrn2f6L5ySuK1BIELcHicmBBAuJCaN+vU9EzbezVwLpglQcz9Q1xDiZ0QuAxK 7kF0i2XB1Qoc4baqoBTedhcbhDZPs2G00E9bAgWMJb4uYtIbX29nwvB3r/FdbcJqb7sm HZ95qYKMUAN0D/DxVuBrQlF/vonWE273N9ihIpQg6xVmU5B/bUfkkUFzDvpFnMiEl7pG EqCuH9nT7ZK86KSMiWAGDDos7PFuD889DzVlly0RcCf7D60/W0n9+rbcF90ZMoly/dJY Wzn39maCAU2oumm1LDuVQfF5z/Z6Ushn0ZlRTuVy0xRsDdnnYD0aft5mD4oR/ZQA+M+9 nnJw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si289199pls.170.2019.01.14.05.02.28; Mon, 14 Jan 2019 05:02:44 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726732AbfANM7w (ORCPT + 99 others); Mon, 14 Jan 2019 07:59:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39392 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726679AbfANM7v (ORCPT ); Mon, 14 Jan 2019 07:59:51 -0500 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 BF2BE88E64; Mon, 14 Jan 2019 12:59:50 +0000 (UTC) Received: from t460s.redhat.com (unknown [10.36.118.91]) by smtp.corp.redhat.com (Postfix) with ESMTP id DD9D75D756; Mon, 14 Jan 2019 12:59:43 +0000 (UTC) From: David Hildenbrand 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 , Catalin Marinas , Will Deacon , Bhupesh Sharma , James Morse , Marc Zyngier , Dave Kleikamp , Mark Rutland , Andrew Morton , Michal Hocko , Matthew Wilcox Subject: [PATCH v2 6/9] arm64: kexec: no need to ClearPageReserved() Date: Mon, 14 Jan 2019 13:59:00 +0100 Message-Id: <20190114125903.24845-7-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.25]); Mon, 14 Jan 2019 12:59:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will be done by free_reserved_page(). Cc: Catalin Marinas Cc: Will Deacon Cc: Bhupesh Sharma Cc: James Morse Cc: Marc Zyngier Cc: Dave Kleikamp Cc: Mark Rutland Cc: Andrew Morton Cc: Michal Hocko Cc: Matthew Wilcox Acked-by: James Morse Signed-off-by: David Hildenbrand --- arch/arm64/kernel/machine_kexec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c index aa9c94113700..6f0587b5e941 100644 --- a/arch/arm64/kernel/machine_kexec.c +++ b/arch/arm64/kernel/machine_kexec.c @@ -361,7 +361,6 @@ void crash_free_reserved_phys_range(unsigned long begin, unsigned long end) for (addr = begin; addr < end; addr += PAGE_SIZE) { page = phys_to_page(addr); - ClearPageReserved(page); free_reserved_page(page); } } -- 2.17.2