John Baldwin wrote:
Do you care what is in the padding in this case or more about just having each mutex on a separate cache line? __aligned() is fine if you don't mind the padding getting reused for something else.
Yes, I care. I would also like to prevent the placement of the heads of the active, inactive, and hold queues (vm_page_queues[]) in the same cache line as the free page queue mutex.
Alan _______________________________________________ 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"