Re: preempt_disable() as synchronization tool

Pei Lin <[email protected]>
Newsgroups gmane.linux.newbie,gmane.linux.kernel.kernelnewbies
Message-ID <[email protected]>
http://lxr.linux.no/#linux+v2.6.31/Documentation/preempt-locking.txt


2009/10/9 Daniel Rodrick <[email protected]>:
> 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,
>
> Dan
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Best Regards
Lin
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.