Received: by 10.192.165.148 with SMTP id m20csp2308794imm; Thu, 26 Apr 2018 08:57:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx48YfQuv6H2sMUzX2N+bVaxpygYQQ93KyAq30SjUYBqyJvbT64o0br/iMMjpIo9BJ/yJocsl X-Received: by 10.101.100.132 with SMTP id e4mr22921903pgv.102.1524758229436; Thu, 26 Apr 2018 08:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524758229; cv=none; d=google.com; s=arc-20160816; b=ZYc4knErR0v5FBkc5ITy3Clc0OZlq9AatrqYYIwfA/oXoM987LBZW8dZHb4wU9T9g3 m+w5+QxkKVSMKtTKpL+6lMQAvY5R7sO2EiVPHRtrvSUoPD7GpbtuONxcjMO+eQ/FOJ1F cfrZaDOIq2WGiM/VLYc0O5c1gqTRDJvV0axvpxR5SLERAb+PwfTL7AVYg1DpkHLsf2WY TFG1yXAgNkNY51yOqCZAhGEMR5mIv+je3v6Sx/GeBcaENpPN+0PZLxMKclwYdyUZWpXh lIr8sTIodnkcgAL4LpqlY6YtgKBUjAhqfzSl2DPPsMnYIOYk3+TZNLDMlQXEfEdJ98W7 0hKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=4OAIwSWeotNy48J0/wXEixJ2qYO6jWdBziqS3Phk7d4=; b=e1+RyaYlnif77Pq+7xxVCmXLlSxkcgh3LzGF4/LRrHXXTiU4eXPpAvG1A2lf6V+hrl wFveww2/tVtLavyMmqOFu0xCaxkHImfr85jegK2bOUleHY9MaGbdprU+MtNr5PLy9qat Ku4BQs6TPVDuHjqt7g1Q298ZWczzI1W9n0pgI6fjMXXnTCRuq72UCvHRmLHYjgTgiiWp raCxMztBz3xhxYriYMKoKjV5mQv38+1/TA26YfmzSY66Jga5nSjP6da7f9V0U/Aao2di NH+6ifIRk2NXWHt0mTBBRlzU75HRKF/M1Gj8wADrB5M/CO/m0R/AshF4saQwnTa7yRH0 N5PQ== 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 u4si18710420pfb.42.2018.04.26.08.56.55; Thu, 26 Apr 2018 08:57:09 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756798AbeDZPzh (ORCPT + 99 others); Thu, 26 Apr 2018 11:55:37 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59156 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755871AbeDZPzd (ORCPT ); Thu, 26 Apr 2018 11:55:33 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AF6D5EBFFE; Thu, 26 Apr 2018 15:55:32 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 88E34215CDC8; Thu, 26 Apr 2018 15:55:32 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id w3QFtWQs022987; Thu, 26 Apr 2018 11:55:32 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w3QFtWSq022983; Thu, 26 Apr 2018 11:55:32 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Thu, 26 Apr 2018 11:55:32 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: James Bottomley cc: Michal Hocko , David Rientjes , dm-devel@redhat.com, eric.dumazet@gmail.com, mst@redhat.com, netdev@vger.kernel.org, jasowang@redhat.com, Randy Dunlap , linux-kernel@vger.kernel.org, Matthew Wilcox , linux-mm@kvack.org, edumazet@google.com, Andrew Morton , virtualization@lists.linux-foundation.org, David Miller , Vlastimil Babka Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options In-Reply-To: <1524756256.3226.7.camel@HansenPartnership.com> Message-ID: References: <20180424170349.GQ17484@dhcp22.suse.cz> <20180424173836.GR17484@dhcp22.suse.cz> <1114eda5-9b1f-4db8-2090-556b4a37c532@infradead.org> <1524694663.4100.21.camel@HansenPartnership.com> <20180426125817.GO17484@dhcp22.suse.cz> <1524753932.3226.5.camel@HansenPartnership.com> <1524756256.3226.7.camel@HansenPartnership.com> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 26 Apr 2018 15:55:32 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 26 Apr 2018 15:55:32 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mpatocka@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Apr 2018, James Bottomley wrote: > So you're shifting your argument from "I have to do it as a Kconfig > option because the distros require it" to "distributions will build > separate kernel packages for this, but won't do enabling in a non > kernel package"? To be honest, I think the argument is nuts but I > don't really care. From my point of view it's usually me explaining to > people how to debug stuff and "you have to build your own kernel with > this Kconfig option" compared to "add this to the kernel command line > and reboot" is much more effort for the debugger. > > James If you have to explain to the user that he needs to turn it on, it is already wrong. In order to find the kvmalloc abuses, it should be tested by as many users as possible. And it could be tested by as many users as possible, if it can be enabled in a VISIBLE place (i.e. menuconfig) - or (in my opinion even better) it should be bound to an CONFIG_ option that is already enabled for debugging kernel - then you won't have to explain anything to the user at all. Hardly anyone - except for people who read this thread - will know about the new commandline parameters or debugfs files. I'm not arguing that the commandline parameter or debugfs files are wrong. They are OK to overridde the default settings for advanced users. But they are useless for common users because common users won't know about them. Mikulas