Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3717223imu; Mon, 14 Jan 2019 07:53:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN6FbkN7PRjr1v3mpMexOuoF7y22RkAsbrEGaZWMh/CwAU7cKT3B/kaaMsUCpu+gxOXoeIaL X-Received: by 2002:a17:902:1102:: with SMTP id d2mr26142324pla.138.1547481221458; Mon, 14 Jan 2019 07:53:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547481221; cv=none; d=google.com; s=arc-20160816; b=NIGeA86zqPw0fjEzk7yDpA6Cc936vpGPd7LwLK2pGVDnKoK13LYGDODNjxf+J72H3Z G10MYxOxLlrjsSSZ7X1KOWHK4mGDdifYCtFwFN2MayPuuszhC+NsvhUzbyZ5iq260U71 z2BdNvoq24UrwAQyk9YnqoD0bWfDzQmAl+Y3w0N4F6Xzs+Wd9VztzDftGB6f3DjAv0j+ crxxV7j/YCrT7uAAwTHxT5sbL4gjegVHdR/SCHGoRkDVLSQUvS08MZCZ6y37D8uaFypx AZmnhZAt4JUKbKt0OCuP08OVk7vyyNg2j25W4niJVCkTX44mzQJIvnMIr2wwm2oOp+pZ RBWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=31z+XEMzJ6K5/5aQETRHBYXsxTO0tFnzs/8KDuSnm1o=; b=NVGOmOjeKHR4H6Y8V+0kGDb5TOfftBF3GMdxU2NvyH0dDvXNyq6wVSV3NZxIZCb/63 A2Dz/w/5KxpQjjpnSA61bSjG/BsZustOKC7EYAJLZRu5DUoz5GCvUNHuIkVTpZYoewmk 2P6k3AoiMFCJCgov1ncYXfsXNU95F2Uy2khUxkBhwzX7AsRIQZNEzfUIJHY2F2X3Wq25 1QY68FEFiFsJcH/bN1fzzxF0uX64ObEMBY2Nv5NCKrYz/pj904czDQMY9kWc/hny5VVw UEKqQiKtgtD6Bed+5uqEsgf/vLFIdEoK6W1bmbpANitcDmgWLQ3kcmfUjqQrvnAXarkq pVBQ== 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 u72si571458pgc.360.2019.01.14.07.53.26; Mon, 14 Jan 2019 07:53:41 -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 S1726796AbfANPuu (ORCPT + 99 others); Mon, 14 Jan 2019 10:50:50 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:39234 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbfANPuu (ORCPT ); Mon, 14 Jan 2019 10:50:50 -0500 Received: by mail-lf1-f66.google.com with SMTP id n18so15966792lfh.6 for ; Mon, 14 Jan 2019 07:50:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=31z+XEMzJ6K5/5aQETRHBYXsxTO0tFnzs/8KDuSnm1o=; b=e5fiBxypcfSLwVPtsKr1vuRWrR/QxhkRQVrANOe5cKcZRjYEW0HhMHtPxg4tIUtWl3 tBxvTPgc8GfLhxFSBEidTk6OU9fNq4yvSFqTj7UeSCZSYcIfmCbB7q0tJ4J612jwWAx8 lKoyqtNzYfbAVPL7/3uWPTibTsr1m7OsgKuaI0GjA//oqT9t2s4C6azHS2ktMzMAPrKP lDa7+JWeipBPlrR7WaRFOS7H/1kFjp85XnHLfyjAhiEYVSv8fOLgvibsEkkIndjZhR0c 3UC+KJyiSxyoj4j/Qt7XELl6OBcz8e0EhRqahHnkIxzVQs3zg96fRDzTWxmBDX170ZXx lZ1A== X-Gm-Message-State: AJcUukctdGp1HBDHuqg4esdLIl0Hot7nXq9YLaCviidf9oW2gJLUykBD 3CDFYY8IJet+ToTgHcxHFALqVIoOTwX8yHLsN7Byqw== X-Received: by 2002:a19:750a:: with SMTP id y10mr13446847lfe.43.1547481048577; Mon, 14 Jan 2019 07:50:48 -0800 (PST) MIME-Version: 1.0 References: <20190114125903.24845-1-david@redhat.com> <20190114125903.24845-7-david@redhat.com> In-Reply-To: <20190114125903.24845-7-david@redhat.com> From: Bhupesh Sharma Date: Mon, 14 Jan 2019 21:20:01 +0530 Message-ID: Subject: Re: [PATCH v2 6/9] arm64: kexec: no need to ClearPageReserved() To: David Hildenbrand Cc: linux-mm@kvack.org, Linux Kernel Mailing List , linux-arm-kernel , 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, Catalin Marinas , Will Deacon , James Morse , Marc Zyngier , Dave Kleikamp , Mark Rutland , Andrew Morton , Michal Hocko , Matthew Wilcox Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, Thanks for the patch. On Mon, Jan 14, 2019 at 6:29 PM David Hildenbrand wrote: > > 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 > Reviewed-by: Bhupesh Sharma