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
Computer Laboratory
University of Cambridge
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"