Bug#716746: backport clock_getcpuclockid2 syscall into kfreebsd-9

2013-07-12 Thread Petr Salinger

Package: kfreebsd-9
Severity: wishlist
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

To properly provide CLOCK_THREAD_CPUTIME_ID, CLOCK_PROCESS_CPUTIME_ID
and clock_id's created by clock_getcpuclockid() and 
pthread_getcpuclockid(), we need a kernel support.

See also #665287.

The kernel support is available in HEAD (but not in STABLE-9).
It should not be to hard to backport kernel part of

http://www.freebsd.org/cgi/query-pr.cgi?pr=168417

into our kernel.

The FBTL based libpthread will use only this interface,
it will not fallback to TSC timers at all.
The reason is that TSC part is fragile and unaccurate.

Petr


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lnx.2.00.1307120939140.27...@contest.felk.cvut.cz



Bug#716746: backport clock_getcpuclockid2 syscall into kfreebsd-9

2013-07-12 Thread Robert Millan
Hi David,

Would you consider MFC'ing your commit in rev 239347?

It'd be very useful to us if it were included in stable/9.


2013/7/12 Petr Salinger :
> Package: kfreebsd-9
> Severity: wishlist
> User: debian-bsd@lists.debian.org
> Usertags: kfreebsd
>
> To properly provide CLOCK_THREAD_CPUTIME_ID, CLOCK_PROCESS_CPUTIME_ID
> and clock_id's created by clock_getcpuclockid() and pthread_getcpuclockid(),
> we need a kernel support.
> See also #665287.
>
> The kernel support is available in HEAD (but not in STABLE-9).
> It should not be to hard to backport kernel part of
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=168417
>
> into our kernel.
>
> The FBTL based libpthread will use only this interface,
> it will not fallback to TSC timers at all.
> The reason is that TSC part is fragile and unaccurate.
>
> Petr
>
>
> --
> To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/alpine.lnx.2.00.1307120939140.27...@contest.felk.cvut.cz
>



-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caofdtxphn1c3ormyoqi6sfxvmmy2a4rssnd5hgbdei34mu0...@mail.gmail.com