svn commit: r191291 - in head: lib/libthr/thread
libexec/rtld-elf/arm libexec/rtld-elf/i386 libexec/rtld-elf/ia64
libexec/rtld-elf/mips libexec/rtld-elf/powerpc libexec/rtld-...
rwatson at FreeBSD.org
Mon Apr 20 13:00:57 UTC 2009
On Mon, 20 Apr 2009, John Baldwin wrote:
>> Now that the kernel defines CACHE_LINE_SIZE in machine/param.h, use
>> that definition in the custom locking code for the run-time linker
>> rather than local definitions.
> Perhaps CACHE_LINE_SIZE for ia64 and sparc64 should be 128 since that is
> what rtld used?
I'm happy with whatever size the platform maintainers would like. I've
changed ia64, sparc64, and sun4v kernel CACHE_LINE_SIZE definitions to 128,
and powerpc was already 128, but left the others at 64 bytes until such time
as we have some useful numbers or informat ionto suggest another choice would
be better. All I'm really looking for here is a baseline constant to use, I
have no particular vested interest in specific values for the constants.
Robert N M Watson
University of Cambridge
More information about the svn-src-all