lkml.org 
[lkml]   [2016]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -v2] x86/hweight: Get rid of the special calling convention
On Tue, May 10, 2016 at 07:23:13PM +0200, Peter Zijlstra wrote:
> So what was wrong with using the normal thunk_*.S wrappers for the
> calls? That would allow you to use the alternative() stuff which does
> generate smaller code.

Yeah, so a full allyesconfig vmlinux gives ~22K .text size increase:

text data bss dec hex filename
85391772 105899159 70717440 262008371 f9dee33 vmlinux before
85413991 105899223 70746112 262059326 f9eb53e vmlinux after
--------
22219

I guess I better try the thunk stuff, might make it smaller.

Also, in the next version I'll split out the static_cpu_has() move into
a separate patch, as you requested on IRC.

Thanks.

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--

\
 
 \ /
  Last update: 2016-05-10 21:21    [W:0.199 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site