From: Kristian V. D. V. <va...@li...> - 2006-01-02 12:54:18
|
On Sunday 01 January 2006 22:02, Daniel Gryniewicz wrote: > On Sun, 2006-01-01 at 23:03 +0000, Kristian Van Der Vliet wrote: >> I just want to run this past you all quickly before I go ahead and check >> this in. > > Looks straight forward to me. Anything that reduces the number of > syscalls is a very good thing. In addition I can save the six or so calls to alloc_tld() at every execve() & spawn_thread() by using the first 1k of thread data. At the moment only the bottom 24 bytes are used (PID, TID, ERRNO, ERRNO_ADDR, BASE), so if we reserve 512-1024 for libc specific TLD data there'll be no need to allocate them out of the user TLD space. Without adding lazy bindings to the ELF loader or support for SYSENTER/SYSCALL instead of 0x80 syscalls, I can't do much more to speed things up. -- Vanders http://www.syllable.org http://www.liqwyd.com |