]> git.neil.brown.name Git - history.git/commit
[PATCH] Call populate_rootfs later in boot
authorAndrew Morton <akpm@osdl.org>
Wed, 21 Apr 2004 00:42:18 +0000 (17:42 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 21 Apr 2004 00:42:18 +0000 (17:42 -0700)
commitd8d03c0fd974d03201505fd359ee9f3b03a1220b
tree62924aca6610e6a1495c5aab2594acd92b34828d
parentc13b1e723329b828f1a7904625fcecc0c22307be
[PATCH] Call populate_rootfs later in boot

populate_rootfs() is called rather early - before we've called init_idle().

But populate_rootfs() does file I/O, which involves calls to cond_resched(),
and downing of semaphores, etc.  If it scheules, the scheduler emits
scheduling-while-atomic warnings and sometimes oopses.

So run populate_rootfs() later, after the scheduler is all set up.
init/main.c