bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/4] Add a monotonic time device


From: Samuel Thibault
Subject: Re: [PATCH 4/4] Add a monotonic time device
Date: Fri, 18 Nov 2011 00:34:18 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Pino Toscano, le Thu 17 Nov 2011 23:10:16 +0100, a écrit :
> Alle sabato 27 agosto 2011, Samuel Thibault ha scritto:
> > Roland McGrath, le Sat 27 Aug 2011 10:03:24 -0700, a écrit :
> > > > Pino Toscano, le Fri 26 Aug 2011 20:29:43 +0200, a écrit :
> > > > > +extern vm_offset_t monotonicmmap();
> > > > > +#define      monotonicname           "monotonic"
> > > > 
> > > > Ah, I was rather thinking about appending the new clock to the
> > > > existing mappable clock.  I don't think it is useful to separate
> > > > them.
> > > 
> > > It does seem good to consolidate on the one page, no reason to have
> > > two pages.  But how exactly will the user tell that he has a new
> > > kernel that has both? It could be by some magic number on the page
> > > or something.
> > 
> > It could simply be the field being non-zero?
> 
> Won't that be problematic when running a newer glibc with a older 
> gnumach that does not zero the page?

Older gnumach does zero the page, see mapable_time_init().

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]