Workqueue(2) - kernel workqueue 종류

Guillermo Austin Kim|2017년 7월 15일
Posts

Workqueue(2) - kernel workqueue 종류

Guillermo Austin Kim|2017년 7월 15일

system_wq보통 ISR 핸들러 및 notifier call에서 주로 쓰는 workqueue이며, 멀티 코어 환경에서 동작한다. crash> workqueue_struct.name,flags 0xed40cc00 -p name = "events\ flags = 0 system_wq = $1 = (struct workqueue_struct *) 0xed40cc00 system_wq workqueue를 접근하는 API는 아래와 같다. static inline bool schedule_work_on(int cpu, struct work_struct *work){ return queue_work_on(cpu, system_wq, work);}static inline bool sche