Messages in this thread | | | Date | Mon, 20 Sep 1999 17:10:36 +0200 | From | Jakub Jelinek <> | Subject | Re: Linux 2.3.18ac6 |
| |
On Mon, Sep 20, 1999 at 10:48:12AM -0400, Jeff Garzik wrote: > Is the attached patch correct? > > The kernel does not use code marked __exit/__exitdata, so it seems like > it can drop the data when it drops __init{data} data.
It already does that. Why do you remove the unused attribute from it?
The correct thing to do is IMHO put it into .text.exit and .data.exit and add clauses into arch vmlinux.lds that it will throw those sections away before linking vmlinux. It is never needed, so why should kernel carry unneeded text/data. It was in my init.h patch I've sent last time to the list, if anyone is interested I can dig it out and resend.
Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz Administrator of SunSITE Czech Republic, MFF, Charles University ___________________________________________________________________ UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/ Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips) ___________________________________________________________________
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |