Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH] reduce export symbol CRC table size on 64-bit archs | Date | Wed, 1 Jul 2009 14:30:28 +0930 |
| |
On Tue, 30 Jun 2009 09:21:52 pm Jan Beulich wrote: > Since these CRCs are really only 32-bit quantities, there's no need to > store them in 64-bit slots. Since, however, gcc doesn't allow > respective initializations, asm() constructs get used to create the CRC > tables (and its for that reason that the patch only makes x86-64 and > ia64 utilize that functionality, as I can't verify this doesn't break > in some subtle way elsewhere).
Hmm, can we change the build system to just link this in as a normal table, rather than use linker tricks?
Then genksyms would just spit out a C file we could compile and link into final vmlinux.
Thanks, Rusty.
| |