0xAX / 0xAX/linux-insides

In kernel 4.16 and above init_task is initialized directly

オープン
#836 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:initialization outdated
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。