On Fri, 31 Jul 2015, Thomas Gleixner wrote:

> On Fri, 31 Jul 2015, yalin wang wrote:
> > it is optimised to 2 instructions ,
> > 
> > this is my patch, hope can be merged :
> 
> We are not exposing the internals of kthread management. Period.

And your 'optimization' is completely bogus:

Before your modification:

size kernel/built-in.o

   text    data     bss     dec     hex filename
1091514  141498  341928 1574940  18081c ../build/kernel/built-in.o

After:

   text    data     bss     dec     hex filename
1091664  141498  341928 1575090  1808b2 ../build/kernel/built-in.o

That's an increase of text size by 150 byte. Interesting optimization.

Thanks,

        tglx


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

Reply via email to