-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Daniel Barlow <[EMAIL PROTECTED]> writes: > register on a machine that had any, but as there basically are no such > things on x86 we use the %fs segment selector instead. This gets > initialised to zero when a new symbol is consed; because I'm lazy For the avoidance of doubt: of course I meant that the _offset_ gets set to zero, not the value of %fs For the curious: we use modify_ldt() to do this on Linux currently. Using the LDT limits us to 8192 threads, but that's fine for now. In linux 2.6 we'll probably use set_thread_area(), which reserves a slot in the GDT and switches it per-thread in the kernel on context switch. Bug reports, test cases, patches, funding, offers of development contracts all very welcome. Small self-contained test cases which currently _fail_ are, of course, the best kind ;-) - -dan - -- http://www.cliki.net/ - Link farm for free CL-on-Unix resources -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+59BhHDK5ZnWQiRMRAiI0AJ0WbRI04IooQa00cuJLDRTR6zzGjgCgp/6G Mt5SoxzG7brNDpKEKCNsATo= =bTRF -----END PGP SIGNATURE-----
