最終更新:2015-10-26 (月) 17:04:19 (3098d)  

kernel_init_freeable
Top / kernel_init_freeable

Linux 3.7

呼び出し元

呼び出し

Wait until kthreadd is all set-up.

  • wait_for_completion?(&kthreadd_done); - kthreaddの起動を待つ

Now the scheduler is fully set up and can do blocking allocations

init can allocate pages on any node

  • set_mems_allowed?

init can run on any cpu.

  • set_cpus_allowed_ptr?
  • task_pid?
  • smp_prepare_cpus?
  • do_pre_smp_initcalls
  • lockup_detector_init?
  • smp_init?
  • sched_init_smp?
  • do_basic_setup - コンパイル時に設定されたモジュールの初期化関数を呼ぶ。ルートファイルシステムの作成
  • sys_dup?

check if there is an early userspace init

Ok, we have completed the initial bootup.rootfs is available now