This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 2/2] posix-timers: Exposes DELAYTIMER_MAX constant used to govern overruns
- From: Thomas Gleixner <tglx at linutronix dot de>
- To: Daniel Church <dchurch at andplus dot com>
- Cc: linux-kernel at vger dot kernel dot org, libc-alpha at sourceware dot org
- Date: Sat, 24 Jan 2015 20:20:49 +0100 (CET)
- Subject: Re: [PATCH v2 2/2] posix-timers: Exposes DELAYTIMER_MAX constant used to govern overruns
- Authentication-results: sourceware.org; auth=none
- References: <[PATCH 0/2] posix-timers: Prevents overrun counter overflow, adds DELAYTIMER_MAX> <1422121737-3686-1-git-send-email-dchurch at andplus dot com> <1422121737-3686-3-git-send-email-dchurch at andplus dot com>
On Sat, 24 Jan 2015, Daniel Church wrote:
> POSIX.1-2001 specification of timer_getoverrun() supports constant
> DELAYTIMER_MAX which prevents overflow and caps overrun count. Exposes
> delaytimer_max value to userland via /proc/sys/kernel/delaytimer_max such
I know that you try to match the posix name, but when looking at the
prctl w/o knowing about DELAYTIMER_MAX, it's non intuitive.
Something like posixtimer_max_overruns or if you insist on the
delaytimer_max part, then let us prepend it with posixtimer_ at least.
New prctls require an update of Documentation/sysctl/kernel.txt.
Thanks,
tglx