Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2009 12:58:53 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        Sergey Babkin <babkin@verizon.net>, freebsd-hackers@freebsd.org, attilio@freebsd.org, phk@phk.freebsd.dk, freebsd-current@freebsd.org, prashant.vaibhav@gmail.com
Subject:   Re: Improving the kernel/i386 timecounter	performance	(GSoC	proposal)
Message-ID:  <49D0518D.4040000@freebsd.org>
In-Reply-To: <49D04F63.4010800@elischer.org>
References:  <11609492.9579.1238167614335.JavaMail.root@vms070.mailsrvcs.net>	<49CD0405.1060704@samsco.org> <49CD30E9.7030501@elischer.org> <49CEC261.4010803@freebsd.org> <49CF0523.8020905@elischer.org> <49D022EF.8030305@freebsd.org> <49D023B7.8070402@freebsd.org> <49D04F63.4010800@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> David Xu wrote:
>> David Xu wrote:
>>> Julian Elischer wrote:
>>>
>>>> depends on the hardware.
>>>> anyhow I was only saying it was possible, not necessarily
>>>> good or even useful.
>>>>
>>>>
>>>
>>> I had done some works for thread private page shared by kernel
>>> and userland when I was doing userland spinlock, if userland asks
>>> a page, kernel will allocate it and put some interesting thing in
>>> it by scheduler etcs, these code may be useful.
>>>
>> FYI:
>> http://people.freebsd.org/~davidxu/schedctl/
> 
> reading this quickly, you allocate a separately addressed page for
> each thread, but,  how do you use it?
> 
> 
I store the address in userland TLS area, then get it when I want to
check some scheduling informations.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D0518D.4040000>