kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* work_struct not getting scheduled
@ 2011-04-21 12:14 Pankaj B
  2011-04-21 15:32 ` Michael Blizek
  2011-04-21 15:59 ` Dave Hylands
  0 siblings, 2 replies; 5+ messages in thread
From: Pankaj B @ 2011-04-21 12:14 UTC (permalink / raw)
  To: kernelnewbies

Hi,
At my end I was using tasklets to do some handling. But while
doing the handling the handler had to sleep, so I had to switch to
 workqueues. I am scheduling a work as follows:

INIT_WORK(&event->work, do_handling_work);
schedule_work(&event->work);
flush_scheduled_work();

But the work never gets scheduled. I have put some printks in the
do_handling_work() function. Creating workqueue and queueing
the work to that workqueue doen't work either. I find this a
very strange problem. Does anybody knows about this?

FYI: my system has heavy IO load when I schedule the work.


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110421/389ae5bb/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-23  3:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 12:14 work_struct not getting scheduled Pankaj B
2011-04-21 15:32 ` Michael Blizek
2011-04-23  3:46   ` Pankaj B
2011-04-21 15:59 ` Dave Hylands
2011-04-21 16:42   ` Himanshu Chauhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).