From: Andrew Morton <akpm@osdl.org>
To: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: lkml <linux-kernel@vger.kernel.org>,
adobriyan@gmail.com, rossb@google.com
Subject: Re: [PATCH] config.gz doesn't need module_exit
Date: Sat, 16 Sep 2006 22:24:08 -0700 [thread overview]
Message-ID: <20060916222408.c3268a89.akpm@osdl.org> (raw)
In-Reply-To: <20060916151122.7d57eeb8.rdunlap@xenotime.net>
On Sat, 16 Sep 2006 15:11:22 -0700
"Randy.Dunlap" <rdunlap@xenotime.net> wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> This is an alternative patch to the current /proc/config.gz
> 'module' patch from Ross. Pointed out by Alexey.
>
> /proc/config.gz handler doesn't need module_exit() since it
> isn't built as a module and the exit function won't be used
> when the code is built into the kernel.
It doesn't buy us much though - the __exit code is all freed up
at runtime.
Or it should be. arch/i386/kernel/vmlinux.lds.S says
/* .exit.text is discard at runtime, not link time, to deal with references
from .altinstructions and .eh_frame */
but free_initmem() doesn't free it.
prev parent reply other threads:[~2006-09-17 5:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-16 22:11 Randy.Dunlap
2006-09-17 5:24 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060916222408.c3268a89.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=adobriyan@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=rossb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®