This would be a nice trick as, so far as I'm aware, no work has been
done towards making non-x86oid, non-ppc ports use gencgc, let alone
If you're failing at warm-start due to lack of memory, you either have
overcommit disabled for some reason, or you need to add more swap
space (or RAM, but that tends to be trickier on embedded targets).
The basic process for bringing threads up on a new CPU architecture
begins with making gencgc work on the CPU, then sorting out the
various thread-specific bits. For the latter, see 18.104.22.168 through
22.214.171.124, where ppc threading support was added. For the former, you
may be able to get away with "just" updating call-in, call-out, and
the allocation sequences, and possibly allocation trap support.
Unfortunately, the last time I tried to do anything in terms of SBCL
on MIPS, I found that I was running a Linux 2.4 series kernel, had no
upgrade prospects on the hardware I had available, and SBCL didn't
If you want to go ahead with porting threading to mips, I can offer
advice and desk-check patches, but I don't have the hardware to do
actual builds or the incentive to do the main part of the work.
Good luck, whatever you choose.
-- Alastair Bridgewater
2011/1/7 Chun Tian (binghe) <binghe.lisp@...>:
> By the way, could any one help me update the mipsel build (with thread support opened)?
> I'm running a SBCL 1.0.28 binary on a Netgear wireless access point which have only 64MB memory. Prebuilt SBCL can run, but I need multi-threading to bring hunchentoot up, and SBCL building process failed at the warm-start stage due to lack of memory ...
> Chun Tian (binghe)
Get latest updates about Open Source Projects, Conferences and News.