tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: recent changes in subr_pool.c



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 12, 2008, at 21:10, Andrew Doran wrote:
On Sun, Apr 06, 2008 at 05:52:39PM -0400, Michael Lorenz wrote:

this assertion in pool_cache_cpu_enter()
        KASSERT(((uintptr_t)cc & (CACHE_LINE_SIZE - 1)) == 0);
fails on my O2. Before I start digging - any good idea where to look
first?

Hmm, that doesn't make sense at all. The assertion is now gone from the code
and I don't know of a way that it could have occurred.

Turned out cc wasn't CACHE_LINE_SIZE aligned and I couldn't find where it was initialized within 5 minutes, since things just work without the KASSERT I didn't dig deeper.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSAH6kspnzkX8Yg2nAQIooQf/Qsf+Jn80ZHdDY333YSIZeZ5RhxV5YK1t
SmJ0+KPud5i7fAMfJdVL3vrsWMG5M2n0kpUifoFxqFHabT/wRke+nDsIyBrO4r0w
zwFH+CgCwzL7qqbEML17iFpaSttjf34Lo7K67q6duslJKJ8h+gMrRH8afZ1rzP72
E4Dp8nz1/rMVn/yaYTgCNGsMl/7GrHtt1UQwLLaDuMy6YmaTM1c7ecb8IjXscmsJ
F9V7Bhyaw8QqWs4640Ef6zvBjDnrQB+I2R50gsT2DK5qDDHTRW67RPDmw5Up7GWM
KBR1roQ33QJZDVdqwZNcfgv7JF6ECaz66pm7u9OnIJ/KSmHbRlcX9Q==
=6YxN
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index