Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2010 09:47:21 -0700
From:      "K. Macy" <kmacy@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: svn commit: r205487 - head/sys/vm
Message-ID:  <82c4140e1003230947g2c37357ej6b8f04d94d1d264c@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 23, 2010 at 6:54 AM, John Baldwin <jhb@freebsd.org> 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" <ivoras@freebsd.org> wrote:
>>
>> On 22 March 2010 23:39, Kip Macy <kmacy@freebsd.org> 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82c4140e1003230947g2c37357ej6b8f04d94d1d264c>