Received: by 10.192.165.148 with SMTP id m20csp4088373imm; Mon, 30 Apr 2018 11:29:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZox0kZggZMNm17pvFf/lcycws+eGHDwhaBA5fDkhcXaPdv9sWgiKCwadQ9lWpqXqmPP59J/ X-Received: by 2002:a17:902:6ac3:: with SMTP id i3-v6mr3291728plt.378.1525112963185; Mon, 30 Apr 2018 11:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525112963; cv=none; d=google.com; s=arc-20160816; b=JzovJ0+HDAivyBpBbOVnclH2ocYISZOL2lnMopJ6Pw8Z7rnEWeYTAwBlN9Rh3XF0tp gQSb2WIHYEVvQBHuH7GJ62FNwaycYl+PV6np2IeWSx5x9Yah97O+NGne//H6etgBrmO/ pWzwqZIuqruPeMULK0UFMke4JBCqjjBR6hHfWOI9PZqmejnUk6HYM9yq3Yo/YE347E6N ndE1dqYvRjAmwexddoYhWlBkjYULaQcNkao6/fnNbE21R4iBqiQbFwrQ/gLjxfYR1StZ +aDqOhxqN6pjjKpv9Leu8rLFLDEWZGx7G0wiAx3CrWOvRFyY5OTzK//mG5wn9NJ1P/Fg v4JA== 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=IYBbHRir++tvKPXzYiPeHitj2oRYf9yCUVWn3B4oFnI=; b=Yfqp/O4MgZ2g9oYBI+acZT55fGj4aLESgI5BDYtXT7TuAwd3T4xMHIYU3z50vOHdWe G/fs2B/q9a3COsnG52bn7gtT+Ju0//YPxhIbpSNlhUqKoHDya8XvGtujS8hIDZ0OQI9M J6zjsEa7ptqIeODKTgglGV/3LgQ6Sn6W2hoZFZW9YhR8u3oO8OMajUGgR9LF6UA7YfAG O7LT3u6YtZj1DMah6wuA2ZSuEdnLKu/kxbrHAL9JG6hT1PCeXHdZwM6oSfT9LLebzbt8 z6p8pGsx3pTaPfc2Ae2GbaC8LM40Kag3QCr8OtE6VmQGqEHGxHx3ncrhS2xABUojoRPw nW9g== 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 b5-v6si6473669pgc.150.2018.04.30.11.29.08; Mon, 30 Apr 2018 11:29:23 -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 S1754534AbeD3S1t (ORCPT + 99 others); Mon, 30 Apr 2018 14:27:49 -0400 Received: from mail.stoffel.org ([104.236.43.127]:51790 "EHLO mail.stoffel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752980AbeD3S1s (ORCPT ); Mon, 30 Apr 2018 14:27:48 -0400 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 39D765FBB6; Mon, 30 Apr 2018 14:27:47 -0400 (EDT) Received: by quad.stoffel.org (Postfix, from userid 1000) id BC442A2CFC; Mon, 30 Apr 2018 14:27:16 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23271.24580.695738.853532@quad.stoffel.home> Date: Mon, 30 Apr 2018 14:27:16 -0400 From: "John Stoffel" To: Mikulas Patocka Cc: John Stoffel , Andrew@stoffel.org, eric.dumazet@gmail.com, mst@redhat.com, edumazet@google.com, netdev@vger.kernel.org, jasowang@redhat.com, Randy Dunlap , linux-kernel@vger.kernel.org, Matthew Wilcox , Hocko , James Bottomley , Michal@stoffel.org, dm-devel@redhat.com, David Miller , David Rientjes , Morton , virtualization@lists.linux-foundation.org, linux-mm@kvack.org, Vlastimil Babka Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options In-Reply-To: References: <20180421144757.GC14610@bombadil.infradead.org> <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> <23266.8532.619051.784274@quad.stoffel.home> X-Mailer: VM 8.2.0b under 24.5.1 (x86_64-pc-linux-gnu) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Mikulas" == Mikulas Patocka writes: Mikulas> On Thu, 26 Apr 2018, John Stoffel wrote: >> >>>>> "James" == James Bottomley writes: >> 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 Mikulas> I see your point - and I think the misunderstanding is this. Thanks. Mikulas> This patch is not really helping people to debug existing crashes. It is Mikulas> not like "you get a crash" - "you google for some keywords" - "you get a Mikulas> page that suggests to turn this option on" - "you turn it on and solve the Mikulas> crash". Mikulas> What this patch really does is that - it makes the kernel deliberately Mikulas> crash in a situation when the code violates the specification, but it Mikulas> would not crash otherwise or it would crash very rarely. It helps to Mikulas> detect specification violations. Mikulas> If the kernel developer (or tester) doesn't use this option, his buggy Mikulas> code won't crash - and if it won't crash, he won't fix the bug or report Mikulas> it. How is the user or developer supposed to learn about this option, if Mikulas> he gets no crash at all? So why do we make this a KConfig option at all? Just turn it on and let it rip. Now I also think that Linus has the right idea to not just sprinkle BUG_ONs into the code, just dump and oops and keep going if you can. If it's a filesystem or a device, turn it read only so that people notice right away.