| To: | Dan Malek <dan@netx4.com> |
|---|---|
| Subject: | Re: Calling testers for another Dead Function Optimisation update |
| From: | Jamie Lokier <lk@tantalophile.demon.co.uk> |
| Date: | Mon, 15 May 2000 20:30:50 +0200 |
| Cc: | Graham Stoney <greyham@research.canon.com.au>, linux-kernel@vger.rutgers.edu, linux-m68k@lists.linux-m68k.org, linux-alpha@vger.rutgers.edu, linux-mips@fnet.fr, sparclinux@vger.rutgers.edu, linuxppc-dev@lists.linuxppc.org, linux-embedded@waste.org |
| In-reply-to: | <391EECB7.2F5670E7@netx4.com>; from dan@netx4.com on Sun, May 14, 2000 at 02:13:11PM -0400 |
| References: | <20000511034105.0046250B7F@brixi.research.canon.com.au> <391EECB7.2F5670E7@netx4.com> |
Dan Malek wrote: > > I've made yet another update to my dead function optimisation > This is the way the kernel used to be, with the kernel objects > as *.a files instead of *.o files. I remember a discussion on > some mailing lists when things changed from *.a to *.o, and I > asked why it had changed. The response I received was the change > was due to loadable modules, that when you link the kernel as a > bunch of *.a files the result is usually missing lots of functions > that a loadable module may want to call. I was told to trim down > the size of my embedded kernel by using configuration options > (and loadable modules) rather than selective loading of functions > by 'ld'. These days, kernel/ksyms.c lists some of the symbols and EXPORT_SYMBOL handles the rest. Those symbols and everything they refer to should remain in a kernel with dead function optimisation. (I don't know if they do, but they probably should do that). So loadable modules will continue to load. -- Jamie |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: CHALLENGE: forbidding processes to smash their stack, Biscondi, Philippe |
|---|---|
| Next by Date: | HELP : ptrace returns puzzling results, Jun Sun |
| Previous by Thread: | Re: Calling testers for another Dead Function Optimisation update, Dan Malek |
| Next by Thread: | Re: Calling testers for another Dead Function Optimisation update, Dan Malek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |