lkml.org 
[lkml]   [2005]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: page fault scalability patch V14 [3/7]: i386 universal cmpxchg
Date
Hi,

On Tuesday 04 January 2005 20:37, Christoph Lameter wrote:

> * Provide emulation of cmpxchg suitable for uniprocessor if
> build and run on 386.
> * Provide emulation of cmpxchg8b suitable for uniprocessor
> systems if build and run on 386 or 486.

I'm not sure that's such a good idea. This emulation is more expensive as it
has to disable interrupts and you already have emulation functions using
spinlocks anyway, so why not use them? This way your patch would not just
scale up, but also still scale down.

bye, Roman

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

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.181 / U:0.404 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site