Re: Sleeping after preempt_disable() possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux