From owner-freebsd-arch@FreeBSD.ORG Tue Jan 16 21:41:14 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D33F216A47C; Tue, 16 Jan 2007 21:41:14 +0000 (UTC) (envelope-from jdp@polstra.com) Received: from blake.polstra.com (blake.polstra.com [64.81.189.66]) by mx1.freebsd.org (Postfix) with ESMTP id 78EF713C4F9; Tue, 16 Jan 2007 21:41:14 +0000 (UTC) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [64.81.189.67]) by blake.polstra.com (8.13.8/8.13.8) with ESMTP id l0GLfCa6078806; Tue, 16 Jan 2007 13:41:12 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3bbf2fe10701161300jc53b707h408fc0848767511f@mail.gmail.com> Date: Tue, 16 Jan 2007 13:41:12 -0800 (PST) From: John Polstra To: Attilio Rao X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (blake.polstra.com [64.81.189.66]); Tue, 16 Jan 2007 13:41:12 -0800 (PST) Cc: Kip Macy , freebsd-current@freebsd.org, Suleiman Souhlal , Pawel Jakub Dawidek , freebsd-arch@freebsd.org Subject: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 21:41:15 -0000 On 16-Jan-2007 Attilio Rao wrote: > 2007/1/16, John Polstra : >> 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