• Andrew Morton's avatar
    [PATCH] Call populate_rootfs later in boot · d8d03c0f
    Andrew Morton authored
    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.
    d8d03c0f
main.c 14.8 KB