Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: SMP status ?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Jan 10, 2011, at 5:47 AM, matthew green wrote:
i'm curious if anyone else has success with the following change. it
has survived at least 3x longer than normal under load for me.
thanks.
Index: cpu.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc/sparc/cpu.c,v
retrieving revision 1.223
diff -p -r1.223 cpu.c
*** cpu.c 22 Jun 2010 18:29:02 -0000 1.223
--- cpu.c 10 Jan 2011 10:46:41 -0000
*************** void
*** 500,506 ****
cpu_init_system(void)
{
! mutex_init(&xpmsg_mutex, MUTEX_SPIN, IPL_VM);
}
/*
--- 500,506 ----
cpu_init_system(void)
{
! mutex_init(&xpmsg_mutex, MUTEX_SPIN, IPL_SCHED);
}
/*
Doesn't seem to make a difference here ( 2x 125MHz HyperSPARC in an
SS20 )
Something completely different though - now the dbri driver causes a
locking-against-myself error when calling bus_dmamem_map() from
dbri_malloc() when attaching audio - that used to work, even on MP
kernels. THe panic doesn't happen on UP kernels and the panic is
always on cpu1.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBTSse+MpnzkX8Yg2nAQIL+Af/eU2yrFTw3ecx6VQH/W6Z66RdY92eKM2a
9SkjFs8fvSRbrWrWTdf1NtGD+czQQrfNqhuITwt0eznPaC2n5gy+EkVJ3hbgfhaH
Cy/5Sa3SWms1XQybyY0B+3kMVGw5cpy5woj3760iUiABKcrUS1e8gVb9/EMMYxeC
jBV/wke3XP3lXIifUFDYZWWxyEKHbMNKVmN+cvXtk9+IZZaTgXVhI7B1+mLm9kEz
TG0p17603+1MUZOGGZtPFdfXJul3xlan9rywDeUE+4EFiWjYDtzhF9RQj8eJhAmN
tmz9LXmpxjQGd+DsGKezqfP+D5J0vZpavwTkoaHQok/RW9CfuED2zQ==
=LWH4
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index