From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikulas Patocka Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options Date: Thu, 26 Apr 2018 10:55:44 -0400 (EDT) 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> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="185206533-886270301-1524754049=:9108" Return-path: In-Reply-To: <1524697697.4100.23.camel@HansenPartnership.com> Content-ID: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: James Bottomley Cc: eric.dumazet@gmail.com, mst@redhat.com, netdev@vger.kernel.org, Randy Dunlap , linux-kernel@vger.kernel.org, Matthew Wilcox , Michal Hocko , linux-mm@kvack.org, dm-devel@redhat.com, Vlastimil Babka , David Rientjes , Andrew Morton , virtualization@lists.linux-foundation.org, David Miller , edumazet@google.com List-Id: virtualization@lists.linuxfoundation.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 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization --185206533-886270301-1524754049=:9108--