From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc-dev@ozlabs.org
Cc: Kevin Corry <kevcorry@us.ibm.com>,
LKML <linux-kernel@vger.kernel.org>, Carl Love <carll@us.ibm.com>
Subject: Re: Questions about porting perfmon2 to powerpc
Date: Thu, 5 Apr 2007 22:37:01 +0200 [thread overview]
Message-ID: <200704052237.02547.arnd@arndb.de> (raw)
In-Reply-To: <200704051532.08775.kevcorry@us.ibm.com>
On Thursday 05 April 2007, Kevin Corry wrote:
> For the moment, I made the change to topology_init() since it was the simplest
> fix to get things working. I have considered switching the perfmon2
> initialization to __initcall(), but there are apparently some timing issues
> with ensuring that the perfmon2 core code is initialized before any of its
> sub-modules. Since they could all be compiled statically in the kernel, I'm
> not sure if there's a way to ensure the ordering of calls within a single
> initcall level. I'll need to ask Stephane if there were any other reasons why
> subsys_initcall() was used for perfmon2.
If they all come from the same directory, you can simply order them in
the Makefile. If a module in arch/ needs to be initialized after one in
drivers/, that's not possible though, and changing topology_init() should
be the best option.
Arnd <><
next prev parent reply other threads:[~2007-04-05 20:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-05 19:55 Questions about porting perfmon2 to powerpc Kevin Corry
2007-04-05 20:08 ` Arnd Bergmann
2007-04-05 20:32 ` Kevin Corry
2007-04-05 20:37 ` Arnd Bergmann [this message]
2007-04-06 2:35 ` Kevin Corry
2007-04-05 23:04 ` Benjamin Herrenschmidt
2007-04-06 2:44 ` Kevin Corry
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=200704052237.02547.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=carll@us.ibm.com \
--cc=kevcorry@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox