From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 6 15:37:12 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 625CE106564A for ; Sat, 6 Aug 2011 15:37:12 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 38DAC8FC14 for ; Sat, 6 Aug 2011 15:37:12 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LPI00300JDZU100@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sat, 06 Aug 2011 10:37:11 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.68.180]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LPI00FICJDYVB30@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sat, 06 Aug 2011 10:37:11 -0500 (CDT) Date: Sat, 06 Aug 2011 10:37:10 -0500 From: Nathan Whitehorn In-reply-to: To: freebsd-ppc@freebsd.org Message-id: <4E3D5FA6.80207@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.68.180 X-Spam-PmxInfo: Server=avs-14, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.8.6.152414, SenderIP=76.210.68.180 References: User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110704 Thunderbird/5.0 Subject: Re: Lags and setjmp X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2011 15:37:12 -0000 On 08/05/11 10:47, Super Bisquit wrote: > The file /usr/src/sys/powerpc/powerpc/setjmp.S has > > #ifdef __powerpc64__ > > at line nine. Maybe this is affecting the system because: > the lag seems to occur on Xorg/Xserver with the cursor having to be moved > before there is a response. > I'm wondering if setting the vale to powerpc instead of powerpc64 would stop > this action. > It wouldn't for the reason Justin said, and this file only applies to the kernel besides. I've also never experienced this bug you're referring to. Is X using longjmp/setjmp() internally? One thing we do not do is save/restore FP registers for long jumps. It's not required by the spec, but Linux does do it. -Nathan