Received: by 10.192.165.148 with SMTP id m20csp2512288imm; Thu, 26 Apr 2018 12:15:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx486ARM/2IxRmp36vX+yPoZO8TC8iB81Sn5a9YywAiKwi73crcEZFP4XjcHXmn0cRREzPKDE X-Received: by 10.98.163.145 with SMTP id q17mr33862527pfl.87.1524770140327; Thu, 26 Apr 2018 12:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524770140; cv=none; d=google.com; s=arc-20160816; b=IyHg1RtGd7sC79hcXPkkdLIXh70Z9EC8sNBHkK3sgroMcinpDy3LjZEWUkwNiGM6AN odNEWYS7UG5gChEfqzXp+ZCm+BGcKkMKE9G3cCyAmvjXxE7UNgERi5e1SWjXA0iGrAYu tJbsXSrB6MvuCsad9WluTKcMcrafc+b64l4rbt8khXfXp1Bs1USfvFFltq5bb1VuURvN jh2DJepZfNKTBX3gi4XVlm2Qfu48f3/aGZm11J9t7T3fxBFgdW8yJHxrmw8ZyGdSU5dn ywpFD9wtOy8KOlwiNOj+J1F1WBx3qzA3ReEyz+HNe/7LEPNu7YYIa90TcYY//bf4+ouD cabg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:subject:cc:to:from :date:message-id:content-transfer-encoding:mime-version :arc-authentication-results; bh=/+psq2KdRNCUuvRTc/SQMMOQRqlaorbXAmSerkHFgzQ=; b=qg2+oMqxGkRoJSTc07HBAhXRG2lrn8joL++JuOK9gY2Ep//5h9PXCD44G2DhTzyr5O k2knnyQhdxpdG1fnXAgUdgznwJk195fAArebzVW0Y1x/P2jLsHgGygQz2sfk4MIoio/w VS5GTlp1NZw3d+2abvfX3NcdVFz08QSDmPMj41hPb5P5A/LraQch+y4oaUbDyzwl+aTr PXdtO2hgMSvg/Tm/HiUTPFBMHc7c38PiZx98fKkm7j6p3C79oA46yDBqJb8bZ3NbsPLr XDN0ZH3/FbR34DyFsX49PIn/6qltgOpEGySjfWJncuIBvW1/uu1VoW025U2dpT+03iE0 VR4Q== 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 a13si7593170pgt.642.2018.04.26.12.15.25; Thu, 26 Apr 2018 12:15:40 -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 S1753529AbeDZTOS convert rfc822-to-8bit (ORCPT + 99 others); Thu, 26 Apr 2018 15:14:18 -0400 Received: from mail.stoffel.org ([104.236.43.127]:58090 "EHLO mail.stoffel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751128AbeDZTOR (ORCPT ); Thu, 26 Apr 2018 15:14:17 -0400 X-Greylist: delayed 946 seconds by postgrey-1.27 at vger.kernel.org; Thu, 26 Apr 2018 15:14:16 EDT Received: from quad.stoffel.org (66-189-75-104.dhcp.oxfr.ma.charter.com [66.189.75.104]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.stoffel.org (Postfix) with ESMTPSA id 9AE595FFB3; Thu, 26 Apr 2018 14:58:29 -0400 (EDT) Received: by quad.stoffel.org (Postfix, from userid 1000) id AD158A2C8C; Thu, 26 Apr 2018 14:58:28 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Message-ID: <23266.8532.619051.784274@quad.stoffel.home> Date: Thu, 26 Apr 2018 14:58:28 -0400 From: "John Stoffel" To: James Bottomley Cc: Mikulas Patocka , Michal@stoffel.org, eric.dumazet@gmail.com, mst@redhat.com, netdev@vger.kernel.org, jasowang@redhat.com, Randy Dunlap , linux-kernel@vger.kernel.org, Matthew Wilcox , Hocko , linux-mm@kvack.org, dm-devel@redhat.com, Vlastimil Babka , Andrew@stoffel.org, David Rientjes , Morton , virtualization@lists.linux-foundation.org, David Miller , edumazet@google.com Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options In-Reply-To: <1524697697.4100.23.camel@HansenPartnership.com> References: <20180421144757.GC14610@bombadil.infradead.org> <20180423151545.GU17484@dhcp22.suse.cz> <20180424125121.GA17484@dhcp22.suse.cz> <20180424162906.GM17484@dhcp22.suse.cz> <20180424170349.GQ17484@dhcp22.suse.cz> <20180424173836.GR17484@dhcp22.suse.cz> <1114eda5-9b1f-4db8-2090-556b4a37c532@infradead.org> <1524694663.4100.21.camel@HansenPartnership.com> <1524697697.4100.23.camel@HansenPartnership.com> X-Mailer: VM 8.2.0b under 24.5.1 (x86_64-pc-linux-gnu) X-Clacks-Overhead: GNU Terry Pratchett Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "James" == James Bottomley writes: James> On Wed, 2018-04-25 at 19:00 -0400, Mikulas Patocka wrote: >> >> On Wed, 25 Apr 2018, James Bottomley wrote: >> >> > > > Do we really need the new config option???This could just be >> > > > manually? tunable via fault injection IIUC. >> > >? >> > > We do, because we want to enable it in RHEL and Fedora debugging >> > > kernels,?so that it will be tested by the users. >> > >? >> > > The users won't use some extra magic kernel options or debugfs >> files. >> >? >> > If it can be enabled via a tunable, then the distro can turn it on >> > without the user having to do anything.? If you want to present the >> > user with a different boot option, you can (just have the tunable >> set >> > on the command line), but being tunable driven means that you don't >> > have to choose that option, you could automatically enable it under >> a >> > range of circumstances.? I think most sane distributions would want >> > that flexibility. >> >? >> > Kconfig proliferation, conversely, is a bit of a nightmare from >> both >> > the user and the tester's point of view, so we're trying to avoid >> it >> > unless absolutely necessary. >> >? >> > James >> >> BTW. even developers who compile their own kernel should have this >> enabled?by a CONFIG option - because if the developer sees the option >> when?browsing through menuconfig, he may enable it. If he doesn't see >> the?option, he won't even know that such an option exists. James> I may be an atypical developer but I'd rather have a root canal James> than browse through menuconfig options. The way to get people James> to learn about new debugging options is to blog about it (or James> write an lwn.net article) which google will find the next time James> I ask it how I debug XXX. Google (probably as a service to James> humanity) rarely turns up Kconfig options in response to a James> query. I agree with James here. Looking at the SLAB vs SLUB Kconfig entries tells me *nothing* about why I should pick one or the other, as an example. John