Date: Tue, 06 Oct 2009 03:01:48 -0500 From: Alan Cox <alc@cs.rice.edu> To: John Baldwin <jhb@FreeBSD.org> Cc: Alan Cox <alc@FreeBSD.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197750 - head/sys/vm Message-ID: <4ACAF96C.6070204@cs.rice.edu> In-Reply-To: <4ACA0F09.2010808@FreeBSD.org> References: <200910041853.n94IrAf7082338@svn.freebsd.org> <4AC9F4F4.4030008@FreeBSD.org> <4ACA0000.2080005@cs.rice.edu> <4ACA0F09.2010808@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACAF96C.6070204>