Improving the kernel/i386 timecounter performance (GSoC proposal)

Maxim Sobolev sobomax at FreeBSD.org
Mon Mar 30 18:02:11 PDT 2009


Scott Long wrote:
> I've been talking about this for years.  All I need is help with the VM 
> magic to create the page on fork.  I also want two pages, one global
> for gettimeofday (and any other global data we can think of) and one
> per-process for static data like getpid/getgid.

I believe somebody suggested that no real VM magic is needed and the 
libc should be in charge of opening special pseudo-device and doing 
necessary mmap(2) magic to get the page mapped in when user calls 
gettimeofday()/getpid()/getid() etc for the first time.

-Maxim


More information about the freebsd-hackers mailing list