RE: [PATCH V8 4/4] mm: frontswap: config and doc files

From: Dan Magenheimer
Date: Tue Aug 30 2011 - 19:14:17 EST


> From: Valdis.Kletnieks@xxxxxx [mailto:Valdis.Kletnieks@xxxxxx]
> Subject: Re: [PATCH V8 4/4] mm: frontswap: config and doc files
>
> On Mon, 29 Aug 2011 09:49:49 PDT, Dan Magenheimer said:
>
> > --- linux/mm/Kconfig 2011-08-08 08:19:26.303686905 -0600
> > +++ frontswap/mm/Kconfig 2011-08-29 09:52:14.308745832 -0600
> > @@ -370,3 +370,20 @@ config CLEANCACHE
> > in a negligible performance hit.
> >
> > If unsure, say Y to enable cleancache
> > +
> > +config FRONTSWAP
> > + bool "Enable frontswap to cache swap pages if tmem is present"
> > + depends on SWAP
> > + default n
>
> > +
> > + If unsure, say Y to enable frontswap.
>
> Am I the only guy who gets irked when the "default" doesn't match the
> "If unsure" suggestion? :) (and yes, I know we have guidelines for
> what the "default" should be...)

Hi Valdis --

Thanks for the review!

Count me as irked. The default should be "y" because the
overhead is extremely tiny when not enabled at runtime by
a backend (though admittedly non-zero), but I got flamed by
Linus last time I tried that (for cleancache), so I'm not
going to try it for frontswap! :-) The "if unsure" is the
best I can do for now to encourage distros to enable it.

Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/