Prev: linux-next: build warnings after merge of the final tree (scsi tree related)
Next: Dear Web-Mail Account Owner
From: Stefan Agner on 13 Apr 2010 03:00 Hi Thomas, Quoting Thomas Gleixner <tglx(a)linutronix.de>: > please use short and descriptive subject lines. "I attached a test > module to reproduce this bug ..." does not tell anything. > > On Mon, 12 Apr 2010, Stefan Agner wrote: > >> Unable to handle kernel paging request at kthread_should_stop > > That would have been the real subject line :) In fact this was my intended Subject line... The current subject line was a copy and paste accident! Due to the fact that my online mailer eats mails sometimes before I can send them, I wrote it in an editor. >> I attached a test module to reproduce this bug. Does I miss something in my >> code or is there a bug? > > There are several bugs in your code :) > >> static int runloop(void *unused) >> { >> >> int ret; >> >> /* Daemonize */ >> daemonize(MODULE_NAME); > > Do not call daemonize() for a kthread created with kthread_create(). > That was necessary for kthreads created with kernel_thread. Removing this already solved the bug message. I fixed all other bugs as well and attached the updated file. Thanks a lot -- Stefan Agner ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |