Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3104691rdb; Tue, 26 Dec 2023 16:47:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEu8dabGf+eL2s9qQEyem79B4hRZ8dOrULkihWT0DMdL5xrhYcIU5ZHFAk0IpugzS//UHWM X-Received: by 2002:a17:906:1ca:b0:a23:6ad7:ce7b with SMTP id 10-20020a17090601ca00b00a236ad7ce7bmr3541306ejj.15.1703638027601; Tue, 26 Dec 2023 16:47:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703638027; cv=none; d=google.com; s=arc-20160816; b=GIcAUaqDutnEsyx3WaFgXbfa9NJzNpZznA3fqYnRvt2SjZK99KwXWnvclNl/bpKSCg nCyd07pMt895ywqKl6N6CI2X7pjPrw+JstZueRvMeqbrzyVVRDFu8BtPLdOkMb9H6QvO k9/X0VbENWRJnGqbYldIPKmFEXNk8ZPdLgubJPwpXQVD9VqFb9zNbvzhsgGI5ki47oP9 YeBAcdgjTdG2q06Png2LkdvgXS52aetyNI4xl+4q/WALP/9iiMO9H9pR3jxDP1NkHMYH MhyI77T13W+JFsT9VWIQAiLBe4JRcwhkDJ0sP4I2t+KWErw3oWAkLhuay5YBYW+SuiuR ItIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KHfYsdkqhGpgTtAjWcLobs1JbxYurYRnCXUAjSNGEuY=; fh=B0V8lGbUqhk7GcgxnwO1Nyd2NHfGB9LaZfcD4Po85kw=; b=Jk19kV8bM/yN4I+qmbFeh3qeMPbctAdmnGRWM3FiQhTwaKuUOfSVTHLAb3pDDb7nEs nycEyrFfhFQmFnjs/KXzhm4USbaVEW84DYOpQtUGpeFNagPgl17eTGxOj9fiIjE26vdU jLTpghrgSVFQIJGMtP4J460v1QzixLuTmJxAzcBUWyXtRhpkoAGWf+42NzCF5dCnJDVp vn3CMIl5/ZTBcfpZdkDajaCpmnNuxehL4dukMu/yimZdVbda/urBZoFdTC/7T1XJ6PK1 nwkY1aW4t6ukfwfGawAuKu8mORfg08+0Qp5N86CQ6T8/5RlG3YK36QXnd0yHyHg/3h2H dIJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=D+Ip32ZQ; spf=pass (google.com: domain of linux-kernel+bounces-11738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p9-20020a170907910900b00a272d570a94si640006ejq.667.2023.12.26.16.47.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 16:47:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=D+Ip32ZQ; spf=pass (google.com: domain of linux-kernel+bounces-11738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1DC261F21BA4 for ; Wed, 27 Dec 2023 00:47:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA07F210F; Wed, 27 Dec 2023 00:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="D+Ip32ZQ" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5651F20E3 for ; Wed, 27 Dec 2023 00:46:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703638016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KHfYsdkqhGpgTtAjWcLobs1JbxYurYRnCXUAjSNGEuY=; b=D+Ip32ZQmI0kNJqgJk0PGtv5hqnosJD/7wZIIF95iayiqqhoHM14g2CDf9ebQnjrk9Z+S/ o7/8pDufsMUT2Qjo19DX9u32Euoz/5qQOEKPeL8UYWfylVxs60gasMQRaSs/Dcv+xl02JM ud157IphIgSimCNZep1Pr5zA1ow1bAY= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-413-mlKy2b4tPo6OebJPeRHa4A-1; Tue, 26 Dec 2023 19:46:51 -0500 X-MC-Unique: mlKy2b4tPo6OebJPeRHa4A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6E40638143A5; Wed, 27 Dec 2023 00:46:51 +0000 (UTC) Received: from localhost (unknown [10.72.116.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4A49B3C31; Wed, 27 Dec 2023 00:46:50 +0000 (UTC) Date: Wed, 27 Dec 2023 08:46:46 +0800 From: Baoquan He To: Youling Tang , akpm@linux-foundation.org Cc: Huacai Chen , linux-kernel@vger.kernel.org, Youling Tang Subject: Re: [PATCH v2] kdump: Remove redundant DEFAULT_CRASH_KERNEL_LOW_SIZE Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 On 12/27/23 at 07:46am, Youling Tang wrote: > From: Youling Tang > > Remove duplicate definitions, no functional changes. > > Reported-by: Huacai Chen > Signed-off-by: Youling Tang > --- > include/linux/crash_core.h | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/include/linux/crash_core.h b/include/linux/crash_core.h > index 5126a4fecb44..9eaeaafe0cad 100644 > --- a/include/linux/crash_core.h > +++ b/include/linux/crash_core.h > @@ -87,12 +87,6 @@ Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type, > void *data, size_t data_len); > void final_note(Elf_Word *buf); > > -#ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION > -#ifndef DEFAULT_CRASH_KERNEL_LOW_SIZE > -#define DEFAULT_CRASH_KERNEL_LOW_SIZE (128UL << 20) > -#endif > -#endif Good catch, thx. Acked-by: Baoquan He > - > int __init parse_crashkernel(char *cmdline, unsigned long long system_ram, > unsigned long long *crash_size, unsigned long long *crash_base, > unsigned long long *low_size, bool *high); > -- > 2.40.0 >