All of lore.kernel.org
 help / color / mirror / Atom feed
* preempt_disable() as synchronization tool
@ 2009-10-09  3:43 Daniel Rodrick
  2009-10-10  2:00 ` vinit dhatrak
  2009-10-12  3:05 ` Pei Lin
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Rodrick @ 2009-10-09  3:43 UTC (permalink / raw)
  To: Kernel Newbies, Linux Newbie

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-12  3:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09  3:43 preempt_disable() as synchronization tool Daniel Rodrick
2009-10-10  2:00 ` vinit dhatrak
2009-10-10  4:46   ` askb
     [not found]   ` <1255150012.7925.6.camel@linux-k65f.site>
2009-10-10 17:07     ` vinit dhatrak
2009-10-10 17:41   ` Frederic Weisbecker
2009-10-12  3:05 ` Pei Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.