From: Arjan van de Ven <arjan@infradead.org>
To: "Adrian McMenamin" <lkmladrian@gmail.com>
Cc: "Paul Mundt" <lethal@linux-sh.org>,
linuxsh-dev@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast
Date: Sun, 9 Sep 2007 19:44:28 +0100 [thread overview]
Message-ID: <20070909194428.3ca83861@laptopd505.fenrus.org> (raw)
In-Reply-To: <8b67d60709091136s4629d8e7tb1ec0e583a2ac52f@mail.gmail.com>
On Sun, 9 Sep 2007 19:36:52 +0100
"Adrian McMenamin" <lkmladrian@gmail.com> wrote:
> Fair enough.
>
> > > +
> > > +void maple_add_packet(struct mapleq *mq)
> > > +{
> > > + list_add((struct list_head *) mq, &maple_waitq);
> > > +}
> >
> > for example this list.. what makes sure that no 2 pieces of code
> > muck with it at the same time?
> >
> >
>
> Because everything is handled by one kernel thread on a uniprocessor
> machine.
hmmm.... still. Once you look at it from any other place... preempt etc
etc... it's sort of playing russian roulette with an empty gun, but
without checking that the gun is actually empty... at some point
someone may accidentally leave a bullet in ;)
prev parent reply other threads:[~2007-09-09 18:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-09 16:46 Adrian McMenamin
2007-09-09 18:28 ` Arjan van de Ven
2007-09-09 18:36 ` Adrian McMenamin
2007-09-09 18:44 ` Arjan van de Ven [this message]
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=20070909194428.3ca83861@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxsh-dev@lists.sourceforge.net \
--cc=lkmladrian@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
all inboxes | Powered by JetHome®