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

Dave Hansen
2014-08-22T16:45:26Z

On 08/22/2014 09:32 AM, Tim Chen wrote:
>> > +#ifdef CONFIG_DEBUG_OBJECTS_FREE
>> > + "DEBUG_OBJECTS_FREE",
>> > +#endif
>> > +#ifdef CONFIG_DEBUG_KMEMLEAK
>> > + "DEBUG_KMEMLEAK",
>> > +#endif
>> > +#ifdef CONFIG_DEBUG_PAGEALLOC
>> > + "DEBUG_PAGEALLOC",
> I think coverage profiling also impact performance.
> So I sould also put CONFIG_GCOV_KERNEL in the list.

Would CONFIG_GCOV_PROFILE_ALL be the better one to check? With plain
GCOV_KERNEL, I don't think we will, by default, put the coverage
information in any files and slow them down.