lkml.org 
[lkml]   [1999]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: spin_unlock optimization(i386)
Andrea Arcangeli wrote:
>
> On Fri, 26 Nov 1999, Manfred Spraul wrote:
>
> >It's invisible on single CPU system, but clearly visible on SMP:
>
> Your proggy hangs immediatly on UP no matter if using the locked bit set
> or the movl. I am not sure if this is expected yet (but after a fast read
> I can't see anything that depends on the hardware to be SMP in your
> proggy). Hmm...
>
I tried it on an AMD K6/200:
It doesn't hang, it's only slower:
it should print a new line every half hour ;)

Could you reduce the retry counter from 5000 to 5 ( ~ line 75)?

--
Manfred

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.083 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site