2009/4/20 Robert Watson <rwat...@freebsd.org>: > On Sun, 19 Apr 2009, Robert Watson 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. > > This actually changes the line size used by the rtld code for pre-pthreads > locking for several architectures. I think this is an improvement, but if > architecture maintainers could comment on that, that would be helpful.
Will there be infrastructure for creating per-CPU structures or is using something like: int mycounter[MAXCPU] __attribute__ ((aligned(CACHE_LINE_SIZE))); considered enough? _______________________________________________ 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"