Received: by 10.192.165.148 with SMTP id m20csp2238161imm; Thu, 26 Apr 2018 07:57:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrbq163rMooe6uKDwytDGoYgFiKJeIQ4RgdKtoZQMmnG2GJDZaVwOF1qMLEtbpGAn2Z/dt2 X-Received: by 2002:a17:902:728f:: with SMTP id d15-v6mr13311262pll.119.1524754633999; Thu, 26 Apr 2018 07:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524754633; cv=none; d=google.com; s=arc-20160816; b=ozMvEzVHNyOw1mVUfqAKfV9N8akAuZGPhAI+v00oWNQj6YRvhHZamwIKrm9BHTiNXF YqdOU6wBA+ZTXXmOXyHZSTOY0Zw10+DcnSicikNqluiuPg+ReL+GhrJWxyKSGn/c4N7Z kGjSnsjc3h7vEZW5d8vNIR6gQs40eJ9DTqVFUaX0F4n2Qqowja4/EHWEPs1aw0x76cMd On6QcEAdZiyI6+jNdMiV5jRmO/QqvTOFhpX076k5aCuumdCn9mVVxAEZxHOGMZnb2MCu dox/vrbyqrz0k97iQQwx7XF5I/MbPFG4kRODnRtIkfawMrpTOOmWJ5FWO+5AiRcfVCfr XfvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=pg2GhCBQqWAULfgQ18GXKPGLpeftT28swyuG1DwvRIU=; b=zSWPUEe2ZfSeWjIZrsTS4L5vxa2J/6AjZzPANvqrurZE5NbrTVm/tMjo2zcgJxPjBS QlPKWug+qOIlY/sGgGu+U2pznrfWiKg1HSBzg/hHW8W3i8avOWGA89t3z9hlmioSXXj9 YYcXMJObDWyhr1rne/RHMmu06is/paouNvUal8CyMdi263pIi77yx3eGPiIz3sIWATfx Znk86IFOOv8YEdbsofvk3qFWsUie0Ap7nmEMBnUoDkEFL3wjQj6eE6QTHPaFNzk1kQ/u 91LH2EUVJ0ZSgzB5H+3JlJFGFyaUTk6MKFA1ABYfYYzu1sI+dchoKzovYJGFLLCC0XFL 8Pbg== 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 e6si16049611pgn.473.2018.04.26.07.56.59; Thu, 26 Apr 2018 07:57:13 -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 S1756573AbeDZOzt (ORCPT + 99 others); Thu, 26 Apr 2018 10:55:49 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49010 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756326AbeDZOzq (ORCPT ); Thu, 26 Apr 2018 10:55:46 -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 6E88E722F4; Thu, 26 Apr 2018 14:55:45 +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 E97C8215CDC8; Thu, 26 Apr 2018 14:55:44 +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 w3QEtiYi011047; Thu, 26 Apr 2018 10:55:44 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w3QEtiKt011043; Thu, 26 Apr 2018 10:55:44 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Thu, 26 Apr 2018 10:55:44 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: James Bottomley 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 Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options In-Reply-To: <1524697697.4100.23.camel@HansenPartnership.com> Message-ID: 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> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="185206533-886270301-1524754049=:9108" Content-ID: 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.2]); Thu, 26 Apr 2018 14:55:45 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Thu, 26 Apr 2018 14:55:45 +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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --185206533-886270301-1524754049=:9108 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15 Content-Transfer-Encoding: 8BIT Content-ID: On Wed, 25 Apr 2018, James Bottomley wrote: > > 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. From my point of view, this feature should be as little disruptive to the developer as possible. It should work automatically behind the scenes without the developer or the tester even knowing that it is working. From this point of view, binding it to CONFIG_DEBUG_SG (or any other commonly used debugging option) would be ideal, because driver developers already enable CONFIG_DEBUG_SG, so they'll get this kvmalloc test for free. From your point of view, you should introduce a sysfs file and a kernel parameter that no one knows about - and then start blogging about it - to let people know. Why would you bother people with this knowledge? They'll forget about it anyway and won't turn it on. Mikulas --185206533-886270301-1524754049=:9108--