From: Rusty Russell <rusty@rustcorp.com.au>
To: "Paul McKenney" <Paul.McKenney@us.ibm.com>
Cc: ak@suse.de, linux-kernel@vger.kernel.org,
lse-tech@lists.sourceforge.net,
lse-tech-admin@lists.sourceforge.net, nigel@nrg.org
Subject: Re: [Lse-tech] Re: [PATCH for 2.5] preemptible kernel
Date: Wed, 11 Apr 2001 01:21:43 +1000 [thread overview]
Message-ID: <m14mzxf-001PKeC@mozart> (raw)
In-Reply-To: Your message of "Sat, 07 Apr 2001 16:54:52 MST." <OF42269F5F.CDF56B0F-ON88256A27.0083566F@LocalDomain>
In message <OF42269F5F.CDF56B0F-ON88256A27.0083566F@LocalDomain> you write:
> > Already preempted tasks.
>
> But if you are suppressing preemption in all read-side critical sections,
> then wouldn't any already-preempted tasks be guaranteed to -not- be in
> a read-side critical section, and therefore be guaranteed to be unaffected
> by the update (in other words, wouldn't such tasks not need to be waited
> for)?
Ah, if you want to inc and dec all the time, yes. But even if the
performance isn't hurt, it's unneccessary, and something else people
have to remember to do.
Simplicity is very nice. And in the case of module unload, gives us
the ability to avoid the distinction between "am I calling into a
module?" and "is this fixed in the kernel?" at runtime. A very good
thing 8)
Rusty.
--
Premature optmztion is rt of all evl. --DK
next prev parent reply other threads:[~2001-04-17 10:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-07 23:54 Paul McKenney
2001-04-10 15:21 ` Rusty Russell [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-04-22 13:38 Paul McKenney
2001-04-11 4:08 Paul McKenney
2001-04-11 5:22 ` yodaiken
2001-04-11 8:37 ` Nigel Gamble
2001-04-11 8:19 ` Nigel Gamble
2001-04-10 22:08 Paul McKenney
2001-04-10 23:49 ` Nigel Gamble
2001-04-09 12:46 bsuparna
2001-04-09 23:28 ` Nigel Gamble
2001-04-07 23:59 Paul McKenney
2001-04-07 1:25 Paul McKenney
2001-04-07 21:25 ` [Lse-tech] " Andi Kleen
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=m14mzxf-001PKeC@mozart \
--to=rusty@rustcorp.com.au \
--cc=Paul.McKenney@us.ibm.com \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech-admin@lists.sourceforge.net \
--cc=lse-tech@lists.sourceforge.net \
--cc=nigel@nrg.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®