Re: [slubllv5 07/25] x86: Add support for cmpxchg_double

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 May 2011, H. Peter Anvin wrote:

> > +config CMPXCHG_DOUBLE
> > +	def_bool X86_64 || (X86_32 && !M386)
> > +
>
> CMPXCHG16B is not a baseline feature for the Linux x86-64 build, and
> CMPXCHG8G is a Pentium, not a 486, feature.
>
> Nacked-by: H. Peter Anvin <hpa@xxxxxxxxx>

Hmmm... We may have to call it CONFIG_CMPXCHG_DOUBLE_POSSIBLE then?

Because the slub code tests the flag in the processor and will not use the
cmpxchg16b from the allocator if its not there. It will then fallback to
using a bit lock in page struct.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]