From owner-svn-src-all@FreeBSD.ORG Tue Mar 23 16:47:23 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 559F81065673; Tue, 23 Mar 2010 16:47:23 +0000 (UTC) (envelope-from kmatthew.macy@gmail.com) Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.221.172]) by mx1.freebsd.org (Postfix) with ESMTP id A29E58FC0C; Tue, 23 Mar 2010 16:47:22 +0000 (UTC) Received: by qyk2 with SMTP id 2so139590qyk.13 for ; Tue, 23 Mar 2010 09:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=fm4zaFQ5vgZRgc/6fXMMTufAHeUj3DG7zg0xtZbehOY=; b=qQsibyKIC5UXq2pfHdDMT5fWNEAI0/tAFn5eJb58ISjnhevUtfNJtPGxh+9YE5lXU2 1qOELIdNIuMW66VWGcEaFIZU2CjB6mVihH1C5Rz8bujKg2mIJVeotVZJhp/i0f32GfdB b12aUTAje88RBw+qeb9seoMVUu8Fd9CEWu6to= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=XY63pZbVYZ0P6od9Jn2Y48skTAUKGym18ZwpZaOG6xB+oFuBah85djNK84nWZ6gtlP OnYzwJ0cNoPPoLdiMkTkyePYgjD5XSZT1TdTOMlWzh4jWPQJcgziijVY1uIucDqHYGxh 19WlaQQjahP7q68INHSL01pvK3mbTgkxqSMHU= MIME-Version: 1.0 Sender: kmatthew.macy@gmail.com Received: by 10.229.235.193 with SMTP id kh1mr1150442qcb.77.1269362841397; Tue, 23 Mar 2010 09:47:21 -0700 (PDT) In-Reply-To: <201003230954.00135.jhb@freebsd.org> References: <201003222239.o2MMdWZi061585@svn.freebsd.org> <9bbcef731003230257n17fa2b28i68da4bd2f01abb5c@mail.gmail.com> <82c4140e1003230333p40ad6d6es1f1e08da4148fab3@mail.gmail.com> <201003230954.00135.jhb@freebsd.org> Date: Tue, 23 Mar 2010 09:47:21 -0700 X-Google-Sender-Auth: eaae3eb4ae010e6a Message-ID: <82c4140e1003230947g2c37357ej6b8f04d94d1d264c@mail.gmail.com> From: "K. Macy" To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Ivan Voras Subject: Re: svn commit: r205487 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@freebsd.org List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 16:47:23 -0000 On Tue, Mar 23, 2010 at 6:54 AM, John Baldwin wrote: > On Tuesday 23 March 2010 6:33:51 am K. Macy wrote: >> The size change causes the initialization path to change in a way that >> currently causes crashes. > > Are you planning on debugging it further? =A0Does UMA_BOOTPAGES or NKPT n= eed to > be larger? > >> On Mar 23, 2010 2:57 AM, "Ivan Voras" wrote: >> >> On 22 March 2010 23:39, Kip Macy wrote: >> > Author: kmacy >> > Date: Mon Mar 22 22:39... >> Does this mean you have determined that aligning these structures is >> not as beneficial on i386 or is there something else going on? >> > > -- > John Baldwin >From a mail I sent to Jeff: This pushes things through keg_large_init (whereas previously it went through keg_small_init) which breaks things on i386. I can workaround the fact that hash_alloc gets called before hashzone is initialized but trying to allocate a slab while during initialization of the slab zone is problematic. Suggestions are welcome. (gdb) bt #0 keg_alloc_slab (keg=3D0xc0ab3000, zone=3D0xc0547c80, wait=3D2) at /usr/home/kmacy/svn_checkouts/head_flowtable/sys/vm/uma_core.c:823 #1 0xc02dbfaf in keg_fetch_slab (keg=3D0xc0ab3000, zone=3D0xc0547c80, flag= s=3D2) at /usr/home/kmacy/svn_checkouts/head_flowtable/sys/vm/uma_core.c:2159 #2 0xc02dc2cc in zone_fetch_slab (zone=3D0xc0547c80, keg=3D0xc0ab3000, fla= gs=3D2) at /usr/home/kmacy/svn_checkouts/head_flowtable/sys/vm/uma_core.c:2219 #3 0xc02db3ab in zone_alloc_item (zone=3D0xc0547c80, udata=3D0xc073cc48, f= lags=3D2) at /usr/home/kmacy/svn_checkouts/head_flowtable/sys/vm/uma_core.c:2475 #4 0xc02db74f in uma_zcreate (name=3D0xc037ef33 "UMA Slabs", size=3D284, ctor=3D0, dtor=3D0, uminit=3D0, fini=3D0, align=3D3, flags=3D536870912) at /usr/home/kmacy/svn_checkouts/head_flowtable/sys/vm/uma_core.c:1827 #5 0xc02dcc6b in uma_startup (bootmem=3D0xc0a64000, boot_pages=3D80)