Date: Sun, 8 Aug 2010 14:00:21 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sparc64/include smp.h src/sys/sparc64/sparc64 genassym.c mp_exception.S mp_machdep.c tick.c Message-ID: <201008081400.o78E0mvk008716@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-08-08 14:00:21 UTC FreeBSD src repository Modified files: sys/sparc64/include smp.h sys/sparc64/sparc64 genassym.c mp_exception.S mp_machdep.c tick.c Log: SVN rev 211071 on 2010-08-08 14:00:21Z by marius - As it is not possible for sched_bind(9) to context switch with td_critnest > 1 when not already running on the desired CPU read the TICK counter of the BSP via a direct cross trap request in that case instead. - Treat the STICK based timecounter the same way as the TICK based one regarding its quality and obtaining the counter value from the BSP. Like the TICK timers the STICK ones also are only synchronized during their startup (which might not result in good synchronicity in the first place) but not afterwards and might drift over time, causing problems when the time is read from different CPUs (see r135972). Revision Changes Path 1.32 +33 -0 src/sys/sparc64/include/smp.h 1.80 +3 -0 src/sys/sparc64/sparc64/genassym.c 1.16 +28 -4 src/sys/sparc64/sparc64/mp_exception.S 1.59 +1 -0 src/sys/sparc64/sparc64/mp_machdep.c 1.29 +49 -31 src/sys/sparc64/sparc64/tick.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008081400.o78E0mvk008716>