[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <987664A83D2D224EAE907B061CE93D53015D91D604@orsmsx505.amr.corp.intel.com>
Date: Fri, 27 Aug 2010 16:26:47 -0700
From: "Luck, Tony" <tony.luck@...el.com>
To: Petr Tesarik <ptesarik@...e.cz>
CC: "linux-ia64@...r.kernel.org" <linux-ia64@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Hedi Berriche <hedi@....com>
Subject: RE: Serious problem with ticket spinlocks on ia64
Debugging this in the kernel seemed hard ... so I tried to construct a
user level test using the same code from the kernel. See attached. But
this fails so catastrophically with any number of threads greater than
one, that I suspect I made some mistake cut & pasting the relevant bits
of kernel infrastructure. The goal of the program is to have several
child processes pounding on a lock while the parent looks in every 5
seconds to see if they are making progress.
-Tony
View attachment "spinwrap.c" of type "text/plain" (7081 bytes)
Powered by blists - more mailing lists