> 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? - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs