svn commit: r197750 - head/sys/vm

Alan Cox alc at cs.rice.edu
Tue Oct 6 08:01:58 UTC 2009


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




More information about the svn-src-all mailing list