lkml.org 
[lkml]   [2018]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options


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.

Mikulas
\
 
 \ /
  Last update: 2018-04-26 01:00    [W:0.827 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site