In kernel 4.16 and above init_task is initialized directly
- 主要言語
- Python
- スター
- 33.5k
- フォーク
- 3.6k
- 平均マージ
- 8時間 41分
- マージ済み PR(30日)
- 11
説明
Kernel entry point -> First steps in the start_kernel
> You can see the definition of the init_task and it initialized by the INIT_TASK macro. This macro is from [include/linux/init_task.h](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/include/linux/init_task.h) and it just fills the init_task with the values for the first process.
In earlier kernels init_task used to be initialized with the INIT_TASK macro, which is now absent. From 4.16 and on, there's a direct initialization in the init_task.c file.
コントリビューションガイド
調査の方向性
このissueはカーネル初期化の変更を示しています。start_kernel内のカーネルエントリポイントコードと、init_task.c内のinit_task定義を確認してください。現在の直接初期化と、include/linux/init_task.hからの古いINIT_TASKマクロの使用法を比較してください。カーネル4.16以降の変更を反映するように書籍のテキストを更新してください。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100