From: Arnd Bergmann <arnd@arndb.de>
To: Kyle McMartin <kyle@mcmartin.ca>
Cc: linux-arch@vger.kernel.org
Subject: Re: [RFC PATCH 00/19] unify init_task
Date: Thu, 11 Dec 2008 14:23:27 +0100 [thread overview]
Message-ID: <200812111423.27523.arnd@arndb.de> (raw)
In-Reply-To: <cover.1228966585.git.kyle@mcmartin.ca>
On Thursday 11 December 2008, Kyle McMartin wrote:
> Create a common kernel/init_task.c, and convert low hanging fruit to
> use it. Architecture maintainers will need to ensure that I didn't
> break anything before applying the init_task removal patch to their
> arch.
Incidentally, I was working on the same stuff already, just didn't
get around to posting it before the discussion arose here.
My patches were largely identical, so I'm just commenting on
what I found beyond what you did.
The major difference to my patch is that I added a CONFIG_GENERIC_INIT_TASK
to each architecture I converted rather than remove the HAVE_ARCH_INIT_TASK.
> A few architectures appear to possibly rely on link-ordering (with
> an extra-y makefile rule) and may need additional linker script rules.
My approach was add "head-y += kernel/init_task" to each architecture
Makefile in order to keep the link order the same. If it work without
that, even better.
> Unconverted architectures so far are m68k (because it doesn't use an explicit
> init_task.c), ia64 (because it faffs about with init_thread_union), and
> sparc{,64} (which appear to rely on some magic.)
And you forgot about um and cris. I'll follow up with trivial patches.
> The other open question is what to do about init_mm, which was supposed to be
> removed in 2.6.26...
Only the EXPORT_SYMBOL was to be removed, not the init_mm itself, because
it is still referenced by init_task. I'd vote for not putting the export
into kernel/init_task.c. There are no modular users in the kernel.
Arnd <><
next prev parent reply other threads:[~2008-12-11 13:23 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 3:52 [RFC PATCH 00/19] unify init_task Kyle McMartin
2008-12-11 3:52 ` [PATCH 01/19] add HAVE_ARCH_INIT_TASK Kyle McMartin
2008-12-11 3:52 ` [PATCH 02/19] add generic kernel/init_task.c Kyle McMartin
2008-12-11 3:52 ` [PATCH 03/19] x86: convert to generic init_task.c Kyle McMartin
2008-12-11 3:52 ` [PATCH 04/19] alpha: rename .data.init_thread to .data.init_task Kyle McMartin
2008-12-11 3:52 ` [PATCH 05/19] alpha: convert to generic init_task.c Kyle McMartin
2008-12-11 3:52 ` [PATCH 06/19] arm: " Kyle McMartin
2008-12-12 19:29 ` Russell King
2008-12-11 3:52 ` [PATCH 07/19] avr32: " Kyle McMartin
2009-01-06 12:55 ` Haavard Skinnemoen
2009-01-06 12:55 ` Haavard Skinnemoen
2008-12-11 3:52 ` [PATCH 08/19] blackfin: " Kyle McMartin
2008-12-11 12:55 ` Arnd Bergmann
2008-12-11 3:52 ` [PATCH 09/19] frv: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 10/19] h8300: " Kyle McMartin
2008-12-11 12:59 ` Arnd Bergmann
2008-12-11 3:52 ` [PATCH 11/19] m32r: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 12/19] m68knommu: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 13/19] mips: " Kyle McMartin
2008-12-11 13:04 ` Arnd Bergmann
2008-12-11 13:21 ` Ralf Baechle
2008-12-11 3:52 ` [PATCH 14/19] mn10300: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 15/19] parisc: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 16/19] powerpc: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 17/19] s390: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 18/19] sh: " Kyle McMartin
2008-12-11 3:52 ` [PATCH 19/19] xtensa: " Kyle McMartin
2008-12-11 8:57 ` [RFC PATCH 00/19] unify init_task Geert Uytterhoeven
2008-12-11 13:21 ` Arnd Bergmann
2008-12-11 14:02 ` Geert Uytterhoeven
2008-12-11 14:26 ` Arnd Bergmann
2008-12-11 12:56 ` Sam Ravnborg
2008-12-11 13:10 ` Arnd Bergmann
2008-12-11 13:23 ` Arnd Bergmann [this message]
2008-12-11 13:26 ` [PATCH] cris: convert to generic init_task Arnd Bergmann
2008-12-11 16:10 ` [RFC PATCH 00/19] unify init_task Arnd Bergmann
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=200812111423.27523.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=kyle@mcmartin.ca \
--cc=linux-arch@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.