From: Dipankar Sarma <dipankar@in.ibm.com>
To: mingo@elte.hu
Cc: Rusty Russell <rusty@rustcorp.com.au>,
Maneesh Soni <maneesh@in.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: smp_call_function & BH handlers
Date: Wed, 28 Nov 2001 01:00:40 +0530 [thread overview]
Message-ID: <20011128010040.A26349@in.ibm.com> (raw)
In article <Pine.LNX.4.33.0111271935520.23151-100000@localhost.localdomain> Ingo Molnar wrote:
> On Tue, 27 Nov 2001, Maneesh Soni wrote:
>> I am working with Dipankar on Read-Copy Update, and experimenting with
>> smp_call_function(). We believed the comments for this routine and
>> faced this problem. That's why this question came. I have not yet
>> searched kernel sources for such places hence not sure whether there
>> are really such places or not.
> we had similar lockup problems before, eg. TLB flushes initiated from
> IRQ/BH contexts - which is illegal now. Generally it's not safe to assume
> that every CPU is responsive to synchronous events triggered from IRQ/BH
> contexts. Every read_lock user is prone to this problem.
Thanks for the clarification. Should we update the
function header for smp_call_function() to say that it is illegal
to use it from both IRQ and BH contexts ?
Along the same lines, I am wondering if nowait broadcast IPI sender
waiting for IPI handlers to start in all other CPUs is a by-product
of the implementation. I can see the need for two types of
such IPIs - 1. send the broadcast IPI and forget about it and
2. send the broadcast IPI and wait for completion of the handlers.
Is there a need for the linux kernel to have a broadcast IPI
mechanism that waits for the start of the IPI handler elsewhere but
not till the end ?
Thanks
Dipankar
--
Dipankar Sarma <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.
next reply other threads:[~2001-11-27 19:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-27 19:30 Dipankar Sarma [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-27 13:27 smp_call_function & BH handlers Maneesh Soni
2001-11-27 15:28 ` Ingo Molnar
2001-11-27 16:29 ` Maneesh Soni
2001-11-27 18:38 ` Ingo Molnar
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=20011128010040.A26349@in.ibm.com \
--to=dipankar@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maneesh@in.ibm.com \
--cc=mingo@elte.hu \
--cc=rusty@rustcorp.com.au \
/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 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.