From: Nivedita Singhvi <niv@us.ibm.com>
To: ratheesh k <ratheesh.ksz@gmail.com>
Cc: linux-net@vger.kernel.org,
linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: softirq-rx and rt_mutex_lock
Date: Wed, 12 May 2010 20:15:00 -0700 [thread overview]
Message-ID: <4BEB6EB4.50501@us.ibm.com> (raw)
In-Reply-To: <AANLkTimTMTD9XJ_yH_tSy7LwMnxkw1gG9udkdEWLmaNv@mail.gmail.com>
ratheesh k wrote:
> What i learned that - softirq cannot be put into sleep mode .( Am i right ) ?
Hello, Ratheesh,
I'm adding linux-rt (the real-time linux mailing list, which
is the more appropriate place to put this question first) to
the cc list. Also note that linux-net is mostly a dead list,
as you'll observe if you take a look at the archives, and
netdev@vger.kernel.org is the more appropriate mailing list
for network development questions (i.e., search here first).
> I am facing a problem in my RT linux . I used rt_mutex_lock to protect
> one critical section in softirq-rx code . There is some kernel crash
> happens in the critical section .
>
> PC- > my function in critical section
> LR -> rt_mutex_unlock .
>
> Why LR is rt_mutex unlock ?
> If rt_mutex_lock can sleep , softirq-rx may sleep ?
If you are running with the RT patchset (CONFIG_PREEMPT_RT),
yes, irqs are now kernel threads. There is more information
here:
https://rt.wiki.kernel.org/index.php/Main_Page
thanks,
Nivedita
parent reply other threads:[~2010-05-13 3:15 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <AANLkTimTMTD9XJ_yH_tSy7LwMnxkw1gG9udkdEWLmaNv@mail.gmail.com>]
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=4BEB6EB4.50501@us.ibm.com \
--to=niv@us.ibm.com \
--cc=linux-net@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=ratheesh.ksz@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).