preempt_disable() as synchronization tool

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

Hi List,

I have few queries related to preempt_disable() and would appreciate
any answers to it.

Firstly, Does preempt_disable() disable the preemption on all the
processors or on just the local processor?

Secondly, a preempt_disable() a suffifient synchronization technique
to guard a data that is shared only among process context code on a
Uni-processor? And on SMP?

Lastly, is it allowable to schedule / sleep immediately after a call
to preempt_disable()?

Thanks & Best Regards,

To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at

[Site Home]     [Audio]     [Hams]     [Kernel Newbies]     [Memory]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]     [Fedora Users]

  Powered by Linux