Being an idiot is fun. kthread *is* a process context. Never the less, if anyone has interesting insight as for how to .very. fast file I/O inside the kernel (Yes, I know that its considered bad, and may results from a bad design decision; Linux was never designed that way, etc. Umm... sadly (?) enough, porting my code to vxworks is not an option ;))
In general, I plan on doing swapper like file I/O. Gilboa On Thu, 2005-07-28 at 15:17 +0300, Gilboa Davara wrote: > Hello all, > > I need to file I/O operations from within kthread context (Multiple fast > network streams, no time to push it upwards into user-space) > As far as I remember, flip_open/close and ->read/->write fs methods must > be called from a process context. > While I can move the I/O task itself using schedule_task to be executed > under keventd, I fear that the long I/O waits will starve the other > pending tasks. > > Did I miss anything? Any other ideas? > > Thanks in advance, > Gilboa ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]