Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1398429
| From | Borislav Petkov <bp@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention |
| Date | 2016-05-10 21:10 +0200 |
| Message-ID | <rxlcD-uF-31@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <rvbAK-2kO-19@gated-at.bofh.it> <rvrcu-B8-23@gated-at.bofh.it> <rvs8y-1oa-27@gated-at.bofh.it> <rxjaP-6ly-9@gated-at.bofh.it> <rxjDP-75T-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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)
--
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC PATCH] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-04 20:50 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Brian Gerst <brgerst@gmail.com> - 2016-05-04 21:40 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-04 21:40 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-04 21:50 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-04 22:00 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-04 22:30 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-04 23:00 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Andi Kleen <andi@firstfloor.org> - 2016-05-04 23:20 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Denys Vlasenko <dvlasenk@redhat.com> - 2016-05-05 15:10 +0200
Re: [RFC PATCH] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-05 16:10 +0200
[PATCH -v2] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-10 19:00 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Peter Zijlstra <peterz@infradead.org> - 2016-05-10 19:30 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-10 21:10 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-10 21:20 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-11 00:40 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-11 06:20 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Brian Gerst <brgerst@gmail.com> - 2016-05-11 13:20 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Peter Zijlstra <peterz@infradead.org> - 2016-05-11 13:30 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-11 14:50 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention "H. Peter Anvin" <hpa@zytor.com> - 2016-05-12 07:00 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-12 14:00 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Peter Zijlstra <peterz@infradead.org> - 2016-05-12 14:20 +0200
Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention Borislav Petkov <bp@suse.de> - 2016-05-10 21:10 +0200
csiph-web