From owner-cvs-src-old@FreeBSD.ORG Sun Aug 8 14:00:49 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 142CB106566B for ; Sun, 8 Aug 2010 14:00:49 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 00F598FC18 for ; Sun, 8 Aug 2010 14:00:49 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o78E0m7O008717 for ; Sun, 8 Aug 2010 14:00:48 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o78E0mvk008716 for cvs-src-old@freebsd.org; Sun, 8 Aug 2010 14:00:48 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201008081400.o78E0mvk008716@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 8 Aug 2010 14:00:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/include smp.h src/sys/sparc64/sparc64 genassym.c mp_exception.S mp_machdep.c tick.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 14:00:49 -0000 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