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 11:05:13 -0400 (EDT) Message-ID: References: <20180424170349.GQ17484@dhcp22.suse.cz> <20180424173836.GR17484@dhcp22.suse.cz> <1114eda5-9b1f-4db8-2090-556b4a37c532@infradead.org> <1524694663.4100.21.camel@HansenPartnership.com> <20180426125817.GO17484@dhcp22.suse.cz> <1524753932.3226.5.camel@HansenPartnership.com> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="185206533-1285601647-1524755113=:12157" Return-path: In-Reply-To: <1524753932.3226.5.camel@HansenPartnership.com> 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-1285601647-1524755113=:12157 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Thu, 26 Apr 2018, James Bottomley wrote: > On Thu, 2018-04-26 at 10:28 -0400, Mikulas Patocka wrote: > > > > On Thu, 26 Apr 2018, Michal Hocko wrote: > > > > > On Wed 25-04-18 18:42:57, Mikulas Patocka wrote: > > > >  > > > >  > > > > On Wed, 25 Apr 2018, James Bottomley wrote: > > > [...] > > > > > 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 > > > >  > > > > I already offered that we don't need to introduce a new kernel > > option and  > > > > we can bind this feature to any other kernel option, that is > > enabled in  > > > > the debug kernel, for example CONFIG_DEBUG_SG. Michal said no and > > he said  > > > > that he wants a new kernel option instead. > > >  > > > Just for the record. I didn't say I _want_ a config option. Do not > > > misinterpret my words. I've said that a config option would be > > > acceptable if there is no way to deliver the functionality via > > kernel > > > package automatically. You haven't provided any argument that would > > > explain why the kernel package cannot add a boot option. Maybe > > there are > > > some but I do not see them right now. > > > > AFAIK Grub doesn't load per-kernel options from a per-kernel file. > > Even if we hacked grub scripts to add this option, other > > distributions won't. > > Perhaps find out beforehand instead of insisting on an approach without > knowing. On openSUSE the grub config is built from the files in > /etc/grub.d/ so any package can add a kernel option (and various > conditions around activating it) simply by adding a new file. And then, different versions of the debug kernel will clash when attempting to create the same file. And what about other distributions? What about people who the RHEL kernel from source with "make"? The problem with this approach that you are trying to bother more and more people with this little silly feature. > The config files are quite sophisticated, so you can add what looks to > be a new kernel, but is really an existing kernel with different options > this way. > > James Mikulas --185206533-1285601647-1524755113=:12157 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-1285601647-1524755113=:12157--