On Sat, 2006-03-25 at 19:20 +0100, topi wrote: > hi, > > > > > i need to create these entries without sleeping, GFP_ATOMIC, because in > > > netfilter hooks is not allowed to sleep. > > > > > > that's not enough ... because the VFS uses semaphores for just about > > everything. And creating a proc entry needs to go to the vfs to do > > things. I think that you're doing something really weird; proc entries > > (which are deprecated btw!) are typically only created during > > initialization not during normal runtime of a module.... > > > > what i need to do is a kind of statistics per network flow, so i'm > detecting flows and creating proc entries to display the information > about them > > i will try with sysfs! (i've not yet explore it) sysfs is also user context only btw > > i will appreciate comment on how to to do that in a better way! again.. work queues ;) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/