Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs

From: John Polstra <jdp_at_polstra.com>
Date: Tue, 16 Jan 2007 13:41:12 -0800 (PST)
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
Received on Tue Jan 16 2007 - 20:41:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC