[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: entering and leaving guile mode, and GC stack protection
From: |
Ludovic Courtès |
Subject: |
Re: entering and leaving guile mode, and GC stack protection |
Date: |
Fri, 14 Aug 2009 09:58:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hello,
Andy Wingo <address@hidden> writes:
> On Thu 06 Aug 2009 18:30, Ken Raeburn <address@hidden> writes:
>
>> On Aug 5, 2009, at 10:06, I wrote:
>>> (3) My four-year-old comments on scm_enter/leave_guile, recorded in
>>> threads.c around line 300, still stand.... Those functions really
>>> ought to go away. At least they're confined to one file, now. Some
>>> of it looks a little messy, but I can probably get rid of some of the
>>> uses....
>>
>> I've made a bit of progress on this.
>
> The patches look good to me; my only wonder is what relation they have
> to the BDW-GC branch Ludovic was working on. If BDW will land before
> 2.0, then perhaps all this mess can go away (wishful thinking);
> otherwise we should apply it now (after the release). Ludovic? :)
Exactly. I've been meaning to reply to this thread because of this.
These functions don't do much in the BDW-GC branch:
http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/threads.c?h=boehm-demers-weiser-gc#n379
Likewise, `scm_without_guile ()' does a `GC_do_blocking ()', but in many
cases `scm_without_guile ()' is not needed because BDW-GC doesn't rely
on cooperation from all threads to work.
And yes, I do hope to have it part of 2.0, but I haven't taken the time
to update it lately.
Thanks,
Ludo'.
- guile performance - Ackermann function: way slower than emacs, slower still if compiled, Ken Raeburn, 2009/08/04
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Marijn Schouten (hkBst), 2009/08/04
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Andy Wingo, 2009/08/05
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Ken Raeburn, 2009/08/05
- entering and leaving guile mode, and GC stack protection (was Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled), Ken Raeburn, 2009/08/06
- Re: entering and leaving guile mode, and GC stack protection, Andy Wingo, 2009/08/12
- Re: entering and leaving guile mode, and GC stack protection,
Ludovic Courtès <=
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Ludovic Courtès, 2009/08/08
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Andy Wingo, 2009/08/05
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Andy Wingo, 2009/08/05