[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <787b0d920611132224n76cb2345t685bb5c521cedcbc@mail.gmail.com>
Date: Tue, 14 Nov 2006 01:24:29 -0500
From: "Albert Cahalan" <acahalan@...il.com>
To: "Mikulas Patocka" <mikulas@...ax.karlin.mff.cuni.cz>
Cc: "Pavel Machek" <pavel@....cz>, linux-kernel@...r.kernel.org
Subject: Re: 2048 CPUs [was: Re: New filesystem for Linux]
> >> No intel document guarantees you that if more CPUs
> >> simultaneously execute locked cmpxchg in a loop that a
> >
> > If we are talking 2048 cpus, we are talking ia64.
>
> IA64 spinlock is locked cmpxchg, if failed than pause (i386 equivalent of
> rep nop) read the value, and if unlocked, try cmpxchg again.
>
> There is no fairness in it.
I suppose we could use something better.
There is the MCS lock, the related CLH lock, and IBM's
improvement on the MCS lock. As with RCU, we'd need
to get IBM's permission to use their lock. (so, how did we
get permission for RCU?) The basic MCS lock is also
patented I think.
http://www.cs.rochester.edu/~scott/professional/Dijkstra/presentation.html
-
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