From: Sam Ravnborg <sam@ravnborg.org>
To: Tim Abbott <tabbott@ksplice.com>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>,
devel@ksplice.com, Denys Vlasenko <vda.linux@googlemail.com>
Subject: Re: [PATCH 0/2] Macros for section name cleanup
Date: Sat, 27 Jun 2009 00:08:58 +0200 [thread overview]
Message-ID: <20090626220858.GB26451@uranus.ravnborg.org> (raw)
In-Reply-To: <1245801452-13222-1-git-send-email-tabbott@ksplice.com>
On Tue, Jun 23, 2009 at 07:57:30PM -0400, Tim Abbott wrote:
> These are the remaining changes from my previous macros for section
> name cleanup patch series that were not subsumed by Sam Ravnborg's
> recent update to vmlinux.lds.h (commit
> 7923f90fffa8746f6457d4eea2109fd3d6414189).
>
> I've dropped the patch reworking __read_mostly to be a generic thing
> in include/linux/cache.h. I think the consensus on that patch was
> that we should first make all the architectures support
> .data.read_mostly in their linker scripts and then do a single patch
> removing all the architecture implementations in favor of a single one
> in include/linux/cache.h.
>
> The long-term goal here is to add support for building the kernel with
> -ffunction-sections -fdata-sections. This requires renaming all the
> magic section names in the kernel of the form .text.foo, .data.foo,
> .bss.foo, and .rodata.foo to not have collisions with sections
> generated for code like:
>
> static int nosave = 0; /* -fdata-sections places in .data.nosave */
> static void head(); /* -ffunction-sections places in .text.head */
>
> Sam Ravnborg proposed that rather than just renaming all the sections
> outright, we should start by first getting more control over the
> section names used in the kernel so that we can later rename sections
> without touching too many files. This patch series provides the
> architecture-independent macros needed for that cleanup.
>
> Tim Abbott (2):
> Add new macros for page-aligned data and bss sections.
> Add new __init_task_data macro to be used in arch init_task.c files.
Applied all thre patches from you - replacing one from Jesper Nilsson
with the one from you.
Sam
prev parent reply other threads:[~2009-06-26 22:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 23:57 Tim Abbott
2009-06-23 23:59 ` [PATCH 1/2] Add new macros for page-aligned data and bss sections Tim Abbott
2009-06-23 23:59 ` [PATCH 2/2] Add new __init_task_data macro to be used in arch init_task.c files Tim Abbott
2009-06-26 22:08 ` Sam Ravnborg [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=20090626220858.GB26451@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=devel@ksplice.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tabbott@ksplice.com \
--cc=vda.linux@googlemail.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®