最終更新:2015-10-30 (金) 16:24:06 (3094d)
khubd
Top / khubd
- It is used as detecting changes in the port status and the feature of plug n play is time‐consuming for the hub driver.
- It is asleep by default.
- Hub driver wakes it up on a change in port status.
メモ
- drivers/usb/core/hub.c
- Linux 3.18で消えた->ワークキューになったっぽい
- kick_khubd?->kick_hub_wq?
Linux 3.18~
- いままではusb_hub_initでkthread_run(hub_thread?, NULL, "khubd")だったのが
- hub_probeでINIT_WORK(hub_event?)に変更
- hub_events?() is modified to process the given work item. It is renamed to hub_event?().
hub_port_connect_changeの呼び出し元
~Linux 3.15
- hub_events? <- kthread_run(hub_thread?) <- usb_hub_init
Linux 3.16~
- port_event? <- hub_events? <- kthread_run(hub_thread?) <- usb_hub_init