> Can I sleep after a call to preempt_disable() ? What are you trying to do? You can sleep from process context. If two different process context can access to shared data, you can use semaphore...
I was curious that after a call to preempt_disable(), can I call a function that MAY sleep? -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/