lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 9 Sep 2007 19:44:28 +0100
From:	Arjan van de Ven <arjan@...radead.org>
To:	"Adrian McMenamin" <lkmladrian@...il.com>
Cc:	"Paul Mundt" <lethal@...ux-sh.org>,
	linuxsh-dev@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast

On Sun, 9 Sep 2007 19:36:52 +0100
"Adrian McMenamin" <lkmladrian@...il.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 ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ