From: Andrew Morton <akpm@osdl.org>
To: Olaf Hering <olh@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how long does it take to init the scheduler?
Date: Sat, 8 May 2004 03:59:34 -0700 [thread overview]
Message-ID: <20040508035934.46101a9b.akpm@osdl.org> (raw)
In-Reply-To: <20040508105311.GA15577@suse.de>
Olaf Hering <olh@suse.de> wrote:
>
>
> Hi,
>
> the patch below looks wrong to me. Why did you move it to the very end
> of the boot process, instead to the very end of start_kernel()?
>
coz I forgot about drivers which want to go opening files in their
module_init().
Like this?
--- 25/init/main.c~populate_rootfs-before-initcalls 2004-05-08 03:57:54.168918048 -0700
+++ 25-akpm/init/main.c 2004-05-08 03:58:58.668112680 -0700
@@ -660,9 +660,15 @@ static int init(void * unused)
fixup_cpu_present_map();
smp_init();
sched_init_smp();
- do_basic_setup();
+ /*
+ * Do this before initcalls, because some drivers want to access
+ * firmware files.
+ */
populate_rootfs();
+
+ do_basic_setup();
+
/*
* check if there is an early userspace init. If yes, let it do all
* the work
_
next prev parent reply other threads:[~2004-05-08 11:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-08 10:53 Olaf Hering
2004-05-08 10:59 ` Andrew Morton [this message]
2004-05-08 11:09 ` Olaf Hering
2004-05-08 11:19 ` Andrew Morton
2004-05-08 11:30 ` Andrew Morton
2004-05-08 11:24 ` Andrew Morton
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=20040508035934.46101a9b.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olh@suse.de \
/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®