开发者

Boot process "scheduler"

开发者 https://www.devze.com 2022-12-21 23:46 出处:网络
Where in the boot process does the \"scheduler\"get created and when created how can its instructions be acce开发者_如何学JAVAssed?That depends on the OS you use, but several things should be clear:

Where in the boot process does the "scheduler" get created and when created how can its instructions be acce开发者_如何学JAVAssed?


That depends on the OS you use, but several things should be clear:

  • before the first switch to userland
  • before any kernel threads are started or any other multi-programming (multi-tasking) is done

Obviously that is relatively early in the boot process.

What exactly do you mean by "how can its instructions be accessed?"?


the default scheduler is set in kernel config : adrian@adrian: ~ $ grep cfq /boot/config-2.6.36.2-desktop-2mnb CONFIG_DEFAULT_IOSCHED="cfq"

at boot time you can do in the kernel line as example: kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/sda2 elevator=deadline

0

精彩评论

暂无评论...
验证码 换一张
取 消