From: Antonio Vargas <wind@cocodriloo.com>
To: Robert Love <rml@tech9.net>
Cc: Antonio Vargas <wind@cocodriloo.com>,
William Lee Irwin III <wli@holomorphy.com>,
linux-kernel@vger.kernel.org
Subject: Re: fairsched + O(1) process scheduler
Date: Thu, 3 Apr 2003 00:35:57 +0200 [thread overview]
Message-ID: <20030402223557.GD13168@wind.cocodriloo.com> (raw)
In-Reply-To: <1049321427.2872.25.camel@localhost>
On Wed, Apr 02, 2003 at 05:10:27PM -0500, Robert Love wrote:
> On Wed, 2003-04-02 at 17:07, Antonio Vargas wrote:
>
> > Hmmm, we had some way for executing code just after an interrupt,
> > but outside interrupt scope... was it a bottom half? Can you
> > point me to some place where it's done?
>
> Unfortunately uidhash_lock cannot be used from a bottom half either.
>
> You can push it into a work queue. See schedule_work() and the default
> events queue.
I'll take a look.
> > Ok, I did know m68k can do it, but wasn't sure about all other arches :)
>
> Yep. Everyone architecture I know of - and certainly all that Linux
> support - can do atomic read/writes to a word. Thinking about it, it
> would be odd if not (two writes to a single word interleaving?). There
> are places this assumption is used.
>
> Anything more complicated, of course, needs atomic operations or locks.
"word == basic unit of transfer from/to memory" on your reasoning, I suppose.
I'm coding this now, hope I can post a basic implementation.
Greets, Antonio.
next prev parent reply other threads:[~2003-04-02 22:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-01 12:51 fairsched + O(1) process scheduler Antonio Vargas
2003-04-01 16:41 ` William Lee Irwin III
2003-04-01 22:19 ` Antonio Vargas
2003-04-02 12:46 ` Antonio Vargas
2003-04-02 16:35 ` William Lee Irwin III
2003-04-02 21:36 ` Antonio Vargas
2003-04-02 21:35 ` Robert Love
2003-04-02 22:07 ` Antonio Vargas
2003-04-02 22:10 ` Robert Love
2003-04-02 22:35 ` Antonio Vargas [this message]
2003-04-03 17:15 ` Corey Minyard
2003-04-03 18:17 ` Robert Love
[not found] ` <200304021144.21924.frankeh@watson.ibm.com>
2003-04-03 12:53 ` Antonio Vargas
2003-04-03 19:22 ` William Lee Irwin III
2003-04-04 11:27 ` Antonio Vargas
2003-04-04 14:04 ` William Lee Irwin III
2003-04-04 20:12 ` Antonio Vargas
2003-04-04 20:40 ` William Lee Irwin III
[not found] ` <200304041453.16630.frankeh@watson.ibm.com>
2003-04-04 21:36 ` Antonio Vargas
[not found] ` <200304081456.34367.frankeh@watson.ibm.com>
2003-04-08 20:19 ` Antonio Vargas
2003-04-01 18:33 ` Robert Love
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=20030402223557.GD13168@wind.cocodriloo.com \
--to=wind@cocodriloo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@tech9.net \
--cc=wli@holomorphy.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 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.