stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] stumpwm 100% CPU usage and no modeline


From: Julian Stecklina
Subject: Re: [STUMP] stumpwm 100% CPU usage and no modeline
Date: Mon, 16 Jun 2008 02:18:12 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> btw, I attached with strace to a spinning stumpwm and saw a LOT of
> SIGSEGV events.  I don't know if that's expected with SBCL or if it's a
> real issue that was related to the problem.

That is (most likely) SBCL's generational garbage collector at
work. What you see are writes hitting the write barrier. The
straight-forward way to implement this on Unix-like systems is to map
the memory read-only and catch SIG{SEGV,BUS} (depending on the Unix
flavour).

Regards,
-- 
Julian Stecklina

Well, take it from an old hand: the only reason it would be easier to
program in C is that you can't easily express complex problems in C,
so you don't. - Erik Naggum (in comp.lang.lisp)

(Spam-Experiment: http://cthulhu.c3d2.de/~astro/badpit.html )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]