Re: [PATCH] [v3] warn on performance-impacting configs aka. TAINT_PERFORMANCE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 21, 2014 at 01:24:24PM -0700, Dave Hansen wrote:

 > Changes from v2:
 >  * remove tainting and stack track

...

 > diff -puN include/linux/kernel.h~taint-performance include/linux/kernel.h
 > --- a/include/linux/kernel.h~taint-performance	2014-08-19 11:38:07.424005355 -0700
 > +++ b/include/linux/kernel.h	2014-08-19 11:38:20.960615904 -0700
 > @@ -471,6 +471,7 @@ extern enum system_states {
 >  #define TAINT_OOT_MODULE		12
 >  #define TAINT_UNSIGNED_MODULE		13
 >  #define TAINT_SOFTLOCKUP		14
 > +#define TAINT_PERFORMANCE		15
 >  
 >  extern const char hex_asc[];
 >  #define hex_asc_lo(x)	hex_asc[((x) & 0x0f)]
 > diff -puN kernel/panic.c~taint-performance kernel/panic.c
 > --- a/kernel/panic.c~taint-performance	2014-08-19 11:38:28.928975233 -0700
 > +++ b/kernel/panic.c	2014-08-20 09:56:29.528471033 -0700
 > @@ -225,6 +225,7 @@ static const struct tnt tnts[] = {
 >  	{ TAINT_OOT_MODULE,		'O', ' ' },
 >  	{ TAINT_UNSIGNED_MODULE,	'E', ' ' },
 >  	{ TAINT_SOFTLOCKUP,		'L', ' ' },
 > +	{ TAINT_PERFORMANCE,		'Q', ' ' },

You don't need these any more.

	Dave

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]