From: sridharv@ufl.edu
To: linux-kernel@vger.kernel.org
Subject: interrupt - spin lock question
Date: Mon, 4 Mar 2002 00:18:49 -0500 [thread overview]
Message-ID: <1015219129.3c8303b9e87a7@webmail.health.ufl.edu> (raw)
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
next reply other threads:[~2002-03-04 5:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-04 5:18 sridharv [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1015219129.3c8303b9e87a7@webmail.health.ufl.edu \
--to=sridharv@ufl.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®