Subject: Re: HEADS UP: timecounters (branch simonb-timecounters) merged into -current
To: Frank Kardel <kardel@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 06/16/2006 11:45:04
On Fri, Jun 16, 2006 at 09:25:27 +0200, Frank Kardel wrote:

> Valeriy E. Ushakov wrote:
> 
> > On Thu, Jun 08, 2006 at 01:10:26 +0200, Frank Kardel wrote:
> >
> > > The FreeBSD implementation of Poul-Henning Kamp's timecounters
> > > was ported and committed to NetBSD-current.
> >
> > Are struct bintime and relevant inline functions intended to be
> > visible outside kernel?
> 
> No, there is no public interface for that right now. Ideally we
> would convert all kernel internal time stamps to struct bintime and
> just convert them 'at the edges' to the expected format, but thats
> another rototill. Userland currently has no access to struct
> bintime.

Shall we protect it with ifdef _KERNEL then to avoid namespace
pollution?

It also triggers a bug in sparc gcc that makes sparc bootxx explode
over the size limit (that's how I noticed).

Thanks.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen