- Subject: Re: [PATCH V7 2/8] posix clocks: introduce a syscall for clock tuning.
- From: Arnd Bergmann <arnd@xxxxxxxx>
- Date: Thu, 16 Dec 2010 16:51:31 +0100
- Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-api@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, Christoph Lameter <cl@xxxxxxxxx>, David Miller <davem@xxxxxxxxxxxxx>, John Stultz <johnstul@xxxxxxxxxx>, Krzysztof Halasa <khc@xxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Rodolfo Giometti <giometti@xxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- In-reply-to: <a93ce18c2987f7e102bc2ff5b12130211c222ea7.1292512461.git.richard.cochran@xxxxxxxxxx>
- References: <cover.1292512461.git.richard.cochran@xxxxxxxxxx> <a93ce18c2987f7e102bc2ff5b12130211c222ea7.1292512461.git.richard.cochran@xxxxxxxxxx>
- User-agent: KMail/1.12.2 (Linux/2.6.31-22-generic; KDE/4.3.2; x86_64; ; )
On Thursday 16 December 2010, Richard Cochran wrote:
> A new syscall is introduced that allows tuning of a POSIX clock. The
> syscall is implemented for four architectures: arm, blackfin, powerpc,
> and x86.
>
> The new syscall, clock_adjtime, takes two parameters, the clock ID,
> and a pointer to a struct timex. Any ADJTIMEX(2) operation may be
> requested via this system call, but various POSIX clocks may or may
> not support tuning.
>
> Signed-off-by: Richard Cochran <richard.cochran@xxxxxxxxxx>
The syscall implementation looks good to me.
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
It would be good to add it to include/asm-generic/unistd.h
as well, so that tile and future architectures get it, too.
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]