[PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
John Polstra
jdp at polstra.com
Tue Jan 16 21:41:15 UTC 2007
On 16-Jan-2007 Attilio Rao wrote:
> 2007/1/16, John Polstra <jdp at 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
More information about the freebsd-arch
mailing list