All of lore.kernel.org
 help / color / mirror / Atom feed
* interrupt - spin lock question
@ 2002-03-04  5:18 sridharv
  2002-03-04  5:27 ` Robert Love
  2002-03-04  6:32 ` Kittur Sameer
  0 siblings, 2 replies; 5+ messages in thread
From: sridharv @ 2002-03-04  5:18 UTC (permalink / raw)
  To: linux-kernel

I have a question related to spin locking on UP systems.Before that I would 
like to point out my understanding of the background stuff
1. spinlocks shud be used in intr handlers
2. interrupts can preempt kernel code
3. spinlocks are turned to empty when kernel is compiled without SMP support.

If a particular driver is running( not the intr handler part) and at this time 
an interrupt occurs. The handler has to be invoked now. Won't the preemption 
cause race conditions/inconsistencies? Is any other mechanism used?
Pl correct me if I have not understood any part of this correctly
-sridhar




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

end of thread, other threads:[~2002-03-04  7:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-04  5:18 interrupt - spin lock question sridharv
2002-03-04  5:27 ` Robert Love
2002-03-04  6:33   ` sridharv
2002-03-04  7:19     ` Robert Love
2002-03-04  6:32 ` Kittur Sameer

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.