Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2005 00:29:10 -0700
From:      Maxim Sobolev <sobomax@portaone.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Pertti Kosunen <pertti.kosunen@pp.nic.fi>, Robert Watson <rwatson@FreeBSD.ORG>, David Xu <davidxu@FreeBSD.ORG>, "Yuriy N. Shkandybin" <jura@networks.ru>, current@FreeBSD.ORG
Subject:   Re: Timers and timing, was: MySQL Performance 6.0rc1
Message-ID:  <436324C6.5040107@portaone.com>
In-Reply-To: <37497.1130570011@critter.freebsd.dk>
References:  <37497.1130570011@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> In message <4362BA38.1090603@portaone.com>, Maxim Sobolev writes:
> 
> 
>>You can solve most of those issues by exporting from kernel to userland 
>>not only page(s) with actual data, but also page(s) with code to handle 
>>that data. Then you can turn syscalls implementation in libc into plain 
>>function calls to addresses in that code page(s). This approach can 
>>potentially have other interesting applications, for example it will be 
>>possible to use processor-specific syscalls instructions without 
>>recompiling userland, move some of the ABI code into userland (i.e. 
>>freebsd32 layer on amd64) etc.
> 
> 
> I'm not sure I see much difference between a shared library and this
> solution, but I'm equally sure we'd love to se a prototype before
> we judge it :-)

Difference is that you won't have additional problems with userland and 
kernel versions mismatch and don't need any additional complexity 
associated with versioning/fallback logic.

-Maxim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436324C6.5040107>