Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1871161imm; Thu, 24 May 2018 02:03:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrjobUBP5fQK4DZzgPvIoA5xjJqCgqzKH+Mash88Y7RkL38x9zhljWh2ICVtYrjPQBuEkbZ X-Received: by 2002:a65:4188:: with SMTP id a8-v6mr5138581pgq.118.1527152633794; Thu, 24 May 2018 02:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527152633; cv=none; d=google.com; s=arc-20160816; b=xJB/D57HWBIwslXOrHrMGwl+up/UGFnY89pKTn8ssdEXRC1LTrD0pYQMWCVb4sJQaF 6KGs9U0kBrKm/DpMHrB7EB+5FV9k09khKE+AT7mPDh4gJnCZqzR9klsTqJwLVEGCFxCT Cyc4vXy+HsOaG6MpUUa9Cq5X6aYAQHRpr4Xb07OjVqkq2xBlDqM586MYx1w27RN6Pj0O Ds/2gCtzIEeFV67Ix4vFpt/hMe64potQFtqI2pTZ+I00YJ6Yxh7lJsSB4oQMjJtnbizg v8pix5MprWHl3PI/amOpmgHyPYvumfHZobpvQYIl+eMo5+GtM8hdq6I/Ewy2pLHI2COh 8rQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=6jeNS/YWaqQQPHB6E0jraDR/LGLSk7rm2NRv4mxT41A=; b=bBcPMaZqI133PKhijqnyJ9R9xAJaf7b8ovOAKWgBdxDi8v4N/Nu45sxr7LItG49qBh dbIG6Lmf5IQ+Hwq3VaUK1bodY2tBux3k49rj1ln3hmWd4zxTwJmM9VZ8eoZQv2ziltwN sIdXN9lkwHw2DFVHTFdPepU8fB6sC67LKaGCnAQYP1uho/yzGTgyqx2bsm4bqsWyQmja KgTiKBInKCQv+w4gKCzk/Y8Cifzh3sTWPJgFdluGfQ3LD673hKMJpBTl1OSWnMOML57/ LYn/P9qC3UjHUW568vPJwtDWtf86C0osCtHxOkyJ5h7GBYqgw/NB4oTizZ1PA/i1MUkW Y2fA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 89-v6si20895639pfs.362.2018.05.24.02.03.38; Thu, 24 May 2018 02:03:53 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965750AbeEXJCx (ORCPT + 99 others); Thu, 24 May 2018 05:02:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:55145 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965742AbeEXJCq (ORCPT ); Thu, 24 May 2018 05:02:46 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 8F7BAABD9; Thu, 24 May 2018 09:02:44 +0000 (UTC) Date: Thu, 24 May 2018 11:02:41 +0200 From: Petr Tesarik To: Dave Young Cc: dzickus@redhat.com, Neil Horman , Tony Luck , bhe@redhat.com, Michael Ellerman , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Schwidefsky , "Eric W. Biederman" , Benjamin Herrenschmidt , Hari Bathini , Cong Wang , Andrew Morton , Ingo Molnar , Vivek Goyal Subject: Re: [PATCH] kdump: add default crashkernel reserve kernel config options Message-ID: <20180524110241.3f60997c@ezekiel.suse.cz> In-Reply-To: <20180524072627.GA1940@dhcp-128-65.nay.redhat.com> References: <20180521025337.GA4627@dhcp-128-65.nay.redhat.com> <20180521120215.117d963a7619eb0d1f54bced@linux-foundation.org> <20180523070641.GA1689@dhcp-128-65.nay.redhat.com> <877enucqr0.fsf@xmission.com> <20180523222236.5a96732e@ezekiel.suse.cz> <20180524014905.GB2031@dhcp-128-65.nay.redhat.com> <20180524085708.31aa311d@ezekiel.suse.cz> <20180524072627.GA1940@dhcp-128-65.nay.redhat.com> Organization: SUSE Linux, s.r.o. X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 May 2018 15:26:27 +0800 Dave Young wrote: > On 05/24/18 at 08:57am, Petr Tesarik wrote: >[...] > > What is "a very minimal initrd"? Last time I had to make a significant > > adjustment to the estimation for openSUSE, this was caused by growing > > user-space requirements (systemd in this case, but I don't want to > > start flamewars on that topic, please). > > Still I think we have agreement and same feeling about the userspace > memory requirement. I think although it is hard, we have been still > trying to shrink the initramfs memory use. > > Besides of distribution use, why people can not use some minimal > initrd? For example only a basic shell and some necessary tools and > basic storage eg. raw disks supported, and he/she can just collect the > panic infomation by himself in a shell. Again, I'm having trouble with the definition of a "minimal initrd" and also with the definition of a "workstation". I have already seen a sad case where kdump started going OOM after connecting a 4K monitor, because, well, it needed a bigger framebuffer... OTOH you wrote in another mail that RH has tested some values on a variety of hardware, so you seem to have a clue. Good for you. I still believe it is moving policy into the kernel. Based on past experience, I expect that certain users will argue that "crashkernel=auto" should work out of the box on their HPE Superdome with 600+ LUNs attached... As you wrote elsewhere in the thread: > I means this patch is not trying to force add a fixed value for crashkernel > in kernel code. It provides another way one can use on kernel build time > the value just works. I don't mind if it is added, although I don't find it very useful. Petr T