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

Bug#716746: backport clock_getcpuclockid2 syscall into kfreebsd-9



I need to look for time to do the MFC, it is not too easy,
because it changes kernel and adds a syscall, touches libc,
libthr and some header files.

Regards,
David Xu

On 2013/07/12 16:35, Robert Millan wrote:
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 <Petr.Salinger@seznam.cz>:
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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Archive:
[🔎] alpine.LNX.2.00.1307120939140.27958@contest.felk.cvut.cz">http://lists.debian.org/[🔎] alpine.LNX.2.00.1307120939140.27958@contest.felk.cvut.cz






Reply to: