From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.1-33-ga2a6c0e Date: Sat, 07 May 2011 20:27:54 +0200 Message-ID: <87tyd6gyc5.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304792888 3335 80.91.229.12 (7 May 2011 18:28:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 May 2011 18:28:08 +0000 (UTC) Cc: guile-devel@gnu.org To: "Andy Wingo" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 07 20:28:04 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QImEU-00005H-5D for guile-devel@m.gmane.org; Sat, 07 May 2011 20:28:02 +0200 Original-Received: from localhost ([::1]:39854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QImET-0007tG-Kz for guile-devel@m.gmane.org; Sat, 07 May 2011 14:28:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QImEQ-0007t7-Bz for guile-devel@gnu.org; Sat, 07 May 2011 14:27:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QImEO-00051W-Rg for guile-devel@gnu.org; Sat, 07 May 2011 14:27:58 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:32787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QImEO-00051M-NT for guile-devel@gnu.org; Sat, 07 May 2011 14:27:56 -0400 Original-Received: from nixey (reverse-83.fdn.fr [80.67.176.83]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id 3B9754454B; Sat, 7 May 2011 20:27:55 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?iso-8859-1?Q?Flor=E9al?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Andy Wingo's message of "Thu, 05 May 2011 22:17:45 +0000") User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12450 Archived-At: Hello! "Andy Wingo" writes: > commit a2a6c0e319b5c146c484cb1fe8ffc9b14b9a9876 > Author: Andy Wingo > Date: Fri May 6 00:17:35 2011 +0200 > > avoid tls gets when handling interrupts in the vm >=20=20=20=20=20 > * libguile/__scm.h (SCM_ASYNC_TICK_WITH_CODE): Redefine to take a > scm_i_thread* as well. OK to do because it's within a > BUILDING_LIBGUILE block. >=20=20=20=20=20 > * libguile/vm-engine.c (vm_engine): Cache the scm_i_thread* instead of > the dynstate, so we can use the thread for ticks. >=20=20=20=20=20 > * libguile/vm-engine.h (VM_HANDLE_INTERRUPTS): Tick with the > scm_i_thread* local var, to avoid excessive tls calls. >=20=20=20=20=20 > * libguile/vm-i-system.c: Fix dynstate users to use > current_thread->dynamic_state. What effect does it have on performance? Registers are scarce on x86... Message <877hv9a5z5.fsf@gnu.org> (aka. ) might be relevant. Thanks, Ludo=E2=80=99.