Date: Tue, 16 Jan 2007 13:41:12 -0800 (PST) From: John Polstra <jdp@polstra.com> To: Attilio Rao <attilio@freebsd.org> Cc: Kip Macy <kip.macy@gmail.com>, freebsd-current@freebsd.org, Suleiman Souhlal <ssouhlal@freebsd.org>, Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-arch@freebsd.org Subject: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs Message-ID: <XFMail.20070116134112.jdp@polstra.com> In-Reply-To: <3bbf2fe10701161300jc53b707h408fc0848767511f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16-Jan-2007 Attilio Rao wrote: > 2007/1/16, John Polstra <jdp@polstra.com>: >> Also, instead of calling bzero in the _init functions, I think you >> could pass UMA_ZONE_ZINIT to uma_zcreate. > > Since it doesn't seem to be documented, it automatically zeros all the > initializations or just the first one? It looks like it acts upon whole chunks of memory, just like the user _init function. But after unsuccessfully trying to wind my way through the UMA code for a few minutes, it's not totally clear to me whether or not UMA_ZONE_ZINIT overrides the user _init function entirely. Maybe somebody who has used it will clear up the confusion. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20070116134112.jdp>