Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5816916ybp; Tue, 15 Oct 2019 05:36:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2hKycReV7e87zk+kUOnvMeo0AHmeyLlec+mke3IyxU2K6Bf18NTElEr/p/9wGKFk3PKIL X-Received: by 2002:a17:906:5388:: with SMTP id g8mr33706254ejo.278.1571142966795; Tue, 15 Oct 2019 05:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571142966; cv=none; d=google.com; s=arc-20160816; b=XbSYFA+Jfiv0Po+TobIUVhp1stvt4wTecDpTr3DysK2GyP3A44rLMhx4IulXeiD3Wb SgK/E8b4Wvp5teDJh0wJ1YFz5LTOMXrGs42UqQEnYY14bZ2juTlrt/npFZMS1hVb4kD0 qb4sjsgDPuDTOUm4qyPb+OmuXtUBuNCg7vXkHGOfri5khgs4NrP32NrP4ZI/rKFr1kWY RTs4rNkbVsFovb9R6GcZhfIQWMIasq3EKBvaELMd/C2Wmd/wefWCoWh8eKXvP+NMjOp8 wuALQAe9eXxlyhS1+tKGgL5CBwuakK36AND93xwGBc8pIJ1baF0EmGgpBMXf0vyMXckb oRiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TNApg5+j/qMYHa6u5vbC0QbnELJuqsC7hbUeon4hMy8=; b=G/YsJSI898VVHIrFEhYkDZXcmkCqjX/QDIW8OnVzP0ShYwooN6AKTNz5VylVZEUZPp Km/06DOreRsf1pzDIp4F0uhcTat7eA4zsyUf3Iwbzk80pYEF6Dae6LxNismO0hlxYtOC /pb6bkHWHqV2z1J1HQOVaRR/QByGEYXlDJnU4vIkkPb9MC6lu9xPrrdXlhIlo/w0OlKQ YYcSvWQZD9P9Qa4JJRL6rC57Sb/lg0NNBvhv51uDopfh4PWrSPsvvhLlL0oy8jVJcSTZ obomHD3dUuu6ADF0V2f8rduBS4IkEL3E15BLY/X0bLujz+GGnvNdymItnNrtQ+uwsSv8 bVYA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si13063683ejw.217.2019.10.15.05.35.42; Tue, 15 Oct 2019 05:36:06 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727564AbfJOMSG (ORCPT + 99 others); Tue, 15 Oct 2019 08:18:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:36302 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725810AbfJOMSF (ORCPT ); Tue, 15 Oct 2019 08:18:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 02C7CB3C4; Tue, 15 Oct 2019 12:18:03 +0000 (UTC) Date: Tue, 15 Oct 2019 14:18:03 +0200 From: Michal Hocko To: Guilherme Piccoli Cc: Qian Cai , linux-mm@kvack.org, mike.kravetz@oracle.com, linux-kernel@vger.kernel.org, Jay Vosburgh , "Guilherme G. Piccoli" Subject: Re: [PATCH] hugetlb: Add nohugepages parameter to prevent hugepages creation Message-ID: <20191015121803.GB24932@dhcp22.suse.cz> References: <4641B95A-6DD8-4E8A-AD53-06E7B72D956C@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 11-10-19 21:41:01, Guilherme Piccoli wrote: > On Fri, Oct 11, 2019 at 8:52 PM Qian Cai wrote: > > > > > > It simply error-prone to reuse the sysctl.conf from the first kernel, as it could contains lots of things that will kill kdump kernel. > > Makes sense, I agree with you. But still, there's no > formal/right/single way to do kdump, so I don't think we should rely > on "rootfs kdump is wrong" to refuse this patch's idea. If so, we > should then formalize the right way of kdumping. > Of course, this is only my opinion, let's see what people think about it! I do agree with Qian Cai here. Kdump kernel requires a very tailored environment considering it is running in a very restricted configuration. The hugetlb pre-allocation sounds like a tooling problem and should be fixed at that layer. -- Michal Hocko SUSE Labs