Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-05-13 Thread Alessio Igor Bogani
Dear Mr. Frysinger, I changed the __ in +. Could you test this, please? http://git.kernel.org/?p=linux/kernel/git/abogani/linux-2.6.git;a=shortlog;h=refs/heads/ksym-sorted-v6 Thanks a lot! Ciao, Alessio -- To unsubscribe from this list: send the line unsubscribe linux-embedded in the body of a

Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-05-12 Thread Mike Frysinger
On Thu, May 12, 2011 at 05:10, Alessio Igor Bogani wrote: 2011/5/11 Mike Frysinger: [...] if you export _foo/foo, you'll get an error with the current code: /* EXPORT_SYMBOL(foo); */        .section        ___ksymtab__foo,a,@progbits ___ksymtab_foo: /* EXPORT_SYMBOL(_foo); */        

Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-05-11 Thread Alessio Igor Bogani
Dear Mr. Frysinger, 2011/5/11 Mike Frysinger vapier@gmail.com: [...] Sorry I don't think that is a good choice from a long term point of view. What do you think to add MODULE_SYMBOL_PREFIX to section names instead? In this way symbol and section names should always be different also on

Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-05-11 Thread Mike Frysinger
On Wed, May 11, 2011 at 11:25, Alessio Igor Bogani wrote: 2011/5/11 Mike Frysinger: Sorry I don't think that is a good choice from a long term point of view. What do you think to add MODULE_SYMBOL_PREFIX to section names instead? In this way symbol and section names should always be different

Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-05-11 Thread Mike Frysinger
On Wed, May 11, 2011 at 05:19, Alessio Igor Bogani wrote: name.  so rather than __, use +. Sorry I don't think that is a good choice from a long term point of view. What do you think to add MODULE_SYMBOL_PREFIX to section names instead? In this way symbol and section names should always be

Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-05-11 Thread Alessio Igor Bogani
Dear Mr. Frysinger, 2011/5/11 Alessio Igor Bogani abog...@kernel.org: [...] this breaks symbol prefixed arches (like Blackfin):  CC      kernel/softirq.o /tmp/ccp3A6LU.s: Assembler messages: /tmp/ccp3A6LU.s:3734: Error: symbol `___ksymtab__local_bh_enable' is already defined [...] name.  so

Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-05-11 Thread Alessio Igor Bogani
Dear Mr. Frysinger, 2011/5/11 Mike Frysinger vapier@gmail.com: this breaks symbol prefixed arches (like Blackfin):  CC      kernel/softirq.o /tmp/ccp3A6LU.s: Assembler messages: /tmp/ccp3A6LU.s:3734: Error: symbol `___ksymtab__local_bh_enable' is already defined make[1]: ***

Re: [PATCH 0/4] Speed up the symbols' resolution process V4

2011-04-27 Thread Dirk Behme
On 16.04.2011 15:26, Alessio Igor Bogani wrote: The intent of this patch is to speed up the symbols resolution process. This objective is achieved by sorting all ksymtab* and kcrctab* symbols (those which reside both in the kernel and in the modules) and thus use the fast binary search. To

[PATCH 0/4] Speed up the symbols' resolution process V4

2011-04-16 Thread Alessio Igor Bogani
The intent of this patch is to speed up the symbols resolution process. This objective is achieved by sorting all ksymtab* and kcrctab* symbols (those which reside both in the kernel and in the modules) and thus use the fast binary search. To avoid adding lots of code for symbols sorting I rely