Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9413318imu; Wed, 5 Dec 2018 04:32:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/UcwVRrnZ8OIacYvPq9Pa25QfGmnuB8/qCWto6Rog+HY+9wOaYR6atXnGLNtd8PhqZE/360 X-Received: by 2002:a63:495b:: with SMTP id y27mr20252992pgk.32.1544013158392; Wed, 05 Dec 2018 04:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544013158; cv=none; d=google.com; s=arc-20160816; b=xWjDs1FxXlqa8l2al48bSERHoJtNztRIleGtAt8D+Y7OJ0ro1mrfJi+RrKZ7YfSmLY oIwx9LJhk8l59vuefw141DC/ouQ2HS+s37oxSc94izJsUEMh0nHRAu1ZpmzVC57bvcE4 C3I+HbDBli1D7WW48fgAYgTsXmo46qlcHxHSL8eizYyXwrv+30jGosPIvOdJkx9lO+9S H6XSzIYwp+qr8nfBiNkZXyfS7j43nCCinPg4jp8uz1hhh9JDUMAK32iLOEbvrdw5a9T0 UwgZVz2ul7xXFHWZ99+AMnP6Bw/zVB0ZB4WfjJUkd0fGUut7yMrESmGsr3z9+wOPhVWF fmtQ== 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=bBX054w8bGTdlesbgYGn0SoNh+EN7oi10ZQ+/mUCeAY=; b=MgJsD9FPaTCcf1LkVVgaBH6KlJE1Lb+CbEQbwZV7D8fPtYX/KGk8wazyH0mjYukL/c cZM2IFHbLkBaJ7eMTr9jf/yBCNYsbHSxKr2UZESaPeTv/XIazKY1bK71IHkIPPl/EQwP 85Gew41wY8Gp4KxIpy2EpkQEmrEWPMhc8XfmbRP4JP48oxCTD04wQ/WVDaxJTxf1SXwR hbWzxGFCWmw3BXJubNNFC6DxJdNeTr5sreGIj8zlmaXzgSWBy91/qWLHkbQh/yIZD4aG rZ0AZjXtqTFgWmWCsUMFdtRW1WDTaOdin2aVfATC1QCDfRJhIF9VOqXaTq1z/5OM3INy ZrBA== 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 h16si17799329pgj.203.2018.12.05.04.32.21; Wed, 05 Dec 2018 04:32:38 -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 S1727956AbeLEMaS (ORCPT + 99 others); Wed, 5 Dec 2018 07:30:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57342 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727947AbeLEMaQ (ORCPT ); Wed, 5 Dec 2018 07:30:16 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EE2E430001EF; Wed, 5 Dec 2018 12:30:15 +0000 (UTC) Received: from t460s.redhat.com (ovpn-117-65.ams2.redhat.com [10.36.117.65]) by smtp.corp.redhat.com (Postfix) with ESMTP id 658DB60E3F; Wed, 5 Dec 2018 12:30:12 +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 RFC 6/7] arm64: kexec: no need to ClearPageReserved() Date: Wed, 5 Dec 2018 13:28:50 +0100 Message-Id: <20181205122851.5891-7-david@redhat.com> In-Reply-To: <20181205122851.5891-1-david@redhat.com> References: <20181205122851.5891-1-david@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Wed, 05 Dec 2018 12:30:16 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will already 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 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 922add8adb74..0ef4ea73aa54 100644 --- a/arch/arm64/kernel/machine_kexec.c +++ b/arch/arm64/kernel/machine_kexec.c @@ -353,7 +353,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