Would be really great if someone could give me a hint (or maybe even a little code example? ;)
The best hint I can give is not to do such things in kernel in the first place.
Erik
-- Pradeep Padala http://ppadala.blogspot.com
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/