討論串[問題] create kernel thread in probe
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 7→)留言8則,0人參與, 最新作者mikeman (Dear John)時間14年前 (2011/06/17 22:23), 編輯資訊
0
0
0
內容預覽:
我後來用 kthread_run 可以了,不曉得為什麼用 queu_work 會讓 kernel hang住... 不過後來有一個問題想請教一下... 用 kernel command line 提供的參數 initcall_debug 所計算的 initcall time. 似乎會將 probe
(還有136個字)

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者mikeman (Dear John)時間14年前 (2011/06/16 23:38), 編輯資訊
0
0
0
內容預覽:
因為手邊 module_probe的時間過長,. 造成拖慢了跑完 kernel 的速度。. 所以想把probe function內部份與 device 相關的 protocol 移到 thread 去執行。. 實際作法可使用 workqueue 嗎? 會有問題嗎?. 不知道是否我的寫法有問題.. 會
(還有99個字)
首頁
上一頁
1
下一頁
尾頁