[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTi=fhsSP069WMNPN8BA=E1=1TZ6Zmw@mail.gmail.com>
Date: Thu, 12 May 2011 11:10:24 +0200
From: Alessio Igor Bogani <abogani@...nel.org>
To: Mike Frysinger <vapier.adi@...il.com>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
Tim Abbott <tabbott@...lice.com>,
Anders Kaseorg <andersk@...lice.com>,
Jason Wessel <jason.wessel@...driver.com>,
Tim Bird <tim.bird@...sony.com>,
LKML <linux-kernel@...r.kernel.org>,
Linux Embedded <linux-embedded@...r.kernel.org>
Subject: Re: [PATCH 0/4] Speed up the symbols' resolution process V4
Dear Mr. Frysinger,
Thank you for excellent explanation!
2011/5/11 Mike Frysinger <vapier.adi@...il.com>:
[...]
> 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); */
> .section ___ksymtab___foo,"a",@progbits
> ___ksymtab__foo:
[...]
So I can suggest two possible solutions for section names:
1) As you suggested change "__" to "+" so
i.e. ___ksymtab+foo
2) Pick a more appropriate name:
i.e. ___ksym__foo
or
i.e. ___ksymsec__foo
In fact these section names aren't a table of symbols (in ksymtab the
"tab" part stand for table, I suppose) so I think that name should be
changed accordingly (my patchset create a temporary section for every
symbol).
Which do you prefer?
Ciao,
Alessio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists