Received: by 10.192.165.148 with SMTP id m20csp1290531imm; Wed, 25 Apr 2018 16:10:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx49MrFW66s7DLD6Q4W0vzBF5pwycUJG6PZ/UAzooKm4KK2cxry85x6CD99ZBXn7KSBIrx9Hp X-Received: by 2002:a17:902:3181:: with SMTP id x1-v6mr31202832plb.198.1524697838976; Wed, 25 Apr 2018 16:10:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524697838; cv=none; d=google.com; s=arc-20160816; b=P6xUQoKDVejYWpGfP4r5F9vM2m04CRhFS01OaGrn+kygeueZhEZhBoRqxU5cigLAhN cSu68ujgWbl/K9EbckgXYYqOdSQ/Ff6mA0WyL/tQ2hxNTC2PtqAoqOlrUbpOP6V8E/e1 eeNXCf41sFMHTCcRpTVJRBqaEDHeIPk+Lh2Dc1IpS9CY+9AJUbryonK480AYZyG1Z/o2 7a5ngpu3i88NrqcTAuppmBAY8ryppd7sd6A7XqbPu4XXdRhqX8LiuI6CM+WNwd7x15DM sm0UmUyMehEMcE3R0+2ran3L3IUYrkzRhWLd2va4OD9MHSm9SMzOgLSrgy1nr8fEQQQU KTWw== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:arc-authentication-results; bh=RIgO9YSoJ6SiAk6eu6p46eoJLpywF/tbJ5UfYR7BDuM=; b=fEvnioHzCRcdp+Dz2pr5ntPWpEF4/+nYxWuqbFfR9cj3Xt8x7xWEv+kjFxI+HUzVWd Bvj7y9tbivCRrb8gOLro/SHNWSmszqn69AO40iD3dgTtH7tJj3hvq58xcS/pHPQZton7 VcwjP7zJqhsqbJnkYy6I/Dw7FUzuljeNUo95oUGej6KF5JCd6jbkW2CaXpiCKMgIYC+h VTQ40S4jeeiMT4TuUjGYpLqBlhP5ww+e7nmNjpX2NupVRS3ZKR6AwFdBzZDM6qxbAyLJ s7+RSdl1zw+BBwHvFWBLj1zDSNihavnxxTw5NLwO/l8AoGaiYZR4e37lveZsR3z7WNko zDwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=mCc0y5QY; 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=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v32-v6si17354168plb.575.2018.04.25.16.10.24; Wed, 25 Apr 2018 16:10:38 -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; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=mCc0y5QY; 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=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754061AbeDYXIX (ORCPT + 99 others); Wed, 25 Apr 2018 19:08:23 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:45342 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753652AbeDYXIV (ORCPT ); Wed, 25 Apr 2018 19:08:21 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 4B1918EE0CF; Wed, 25 Apr 2018 16:08:21 -0700 (PDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iM3NyX4YcS0D; Wed, 25 Apr 2018 16:08:21 -0700 (PDT) Received: from [153.66.254.194] (unknown [50.35.65.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 3FDFE8EE0C7; Wed, 25 Apr 2018 16:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1524697701; bh=LgSQ9tFgw8l2magU9cOMMq6rmG7siV6G5S0DkApFfVc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=mCc0y5QYf+xIAwpGB2DlQ0jU9APtt80uz6LFlWiH2vD48sgrXlqMk21jSqCLhIBqD qmp5NkUcu0V2O7JlbdKLjEdVzNSs1qBPB189yrcLHRJpZ0aos0YM+QPe40ZyiS0p5t gn9fE3ZYxm5ZaEreL26hoa8qDYJFm0HzhbGFK7hA= Message-ID: <1524697697.4100.23.camel@HansenPartnership.com> Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options From: James Bottomley To: Mikulas Patocka Cc: 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 , Michal Hocko , linux-mm@kvack.org, edumazet@google.com, Andrew Morton , virtualization@lists.linux-foundation.org, David Miller , Vlastimil Babka Date: Wed, 25 Apr 2018 16:08:17 -0700 In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. I may be an atypical developer but I'd rather have a root canal than browse through menuconfig options. The way to get people to learn about new debugging options is to blog about it (or write an lwn.net article) which google will find the next time I ask it how I debug XXX. Google (probably as a service to humanity) rarely turns up Kconfig options in response to a query. James