Date: Wed, 05 Nov 2003 17:04:22 +0800 From: David Xu <davidxu@viatech.com.cn> To: Jun Su <junsu@m-net.arbornet.org> Cc: current@freebsd.org Subject: Re: SYSENTER in FreeBSD Message-ID: <3FA8BD16.2080705@viatech.com.cn> In-Reply-To: <200311050744.hA57i60Z083898@m-net.arbornet.org> References: <200311050744.hA57i60Z083898@m-net.arbornet.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jun Su wrote: >I noticed that Jeff Roberson implement this already. Is whi will be commit? >http://kerneltrap.org/node/view/1531 > >I google this because I found this feature is listed in the list of Kernel Improvement of WindowsXP. :-) > >Thanks, >Jun Su > > > I have almost done this experiment about 10 months ago. http://people.freebsd.org/~davidxu/fastsyscall/ The patch is out of date and still not complete. Also it can give you some performance improve, but I think too many things need to be changed, and this really makes user ret code very dirty, some syscalls, for example, pipe() can not use this fast syscall, becaues pipe() seems using two registers to return file handle, the performance gain is immediately lost when the assemble code becomes more complex. I don't think this hack is worth to do on IA32, I heard AMD has different way to support fast syscall, that may already in FreeBSD AMD 64 branch. David Xu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FA8BD16.2080705>