Hi all, I'm developing a function to show task struct information but I don't konw how to scan the p->wait_chldexit field (of type wait_queue_head_t). I try to do this: struct list_head *t; struct list_head task_list=p->wait_chldexit.task_list; struct list_head *list = &task_list;; list_for_each(t,list){ printk("scrivi"); printk("elemento lista %08lx\n",*t); } There's no compilation error but, when I insmod the module, the system crashes. Thanks. Vincenzo Mallozzi. ___________________________________ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica? Scaricalo ora! http://it.messenger.yahoo.it -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/