From: Richard Cochran <richardcochran-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 0/2] [RFC] posix clock tuning
Date: Fri, 3 Sep 2010 11:27:59 +0200 [thread overview]
Message-ID: <cover.1283504065.git.richard.cochran@omicron.at> (raw)
Recently on the lkml, we discussed how to allow adjustment of posix
clocks. I have tried to understand and implement the ideas expressed
in the various threads.
If there is agreement on this approach, I will resubmit these two
patches as part of a longer series, including support for a new kind
of hardware clock, so you can see how it all fits together. But first,
I would like to concentrate on the new syscall itself.
The patches are against a recent net-next tree. Please don't worry if
the syscall tables are not quite up to date. I can fix that later.
Thanks,
Richard
Richard Cochran (2):
posix clocks: introduce a syscall for clock tuning.
posix clocks: introduce a sysfs presence.
Documentation/ABI/testing/sysfs-timesource | 24 +++++
arch/arm/include/asm/unistd.h | 1 +
arch/arm/kernel/calls.S | 1 +
arch/blackfin/include/asm/unistd.h | 3 +-
arch/blackfin/mach-common/entry.S | 1 +
arch/powerpc/include/asm/systbl.h | 1 +
arch/powerpc/include/asm/unistd.h | 3 +-
arch/x86/ia32/ia32entry.S | 1 +
arch/x86/include/asm/unistd_32.h | 3 +-
arch/x86/include/asm/unistd_64.h | 2 +
arch/x86/kernel/syscall_table_32.S | 1 +
drivers/char/mmtimer.c | 1 +
include/linux/posix-timers.h | 14 +++-
include/linux/syscalls.h | 2 +
include/linux/time.h | 2 +
include/linux/timex.h | 3 +-
kernel/compat.c | 136 ++++++++++++++++++----------
kernel/posix-cpu-timers.c | 6 ++
kernel/posix-timers.c | 98 +++++++++++++++++++--
19 files changed, 243 insertions(+), 60 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-timesource
next reply other threads:[~2010-09-03 9:27 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 9:27 Richard Cochran [this message]
2010-09-03 9:29 ` [PATCH 1/2] posix clocks: introduce a syscall for clock tuning Richard Cochran
[not found] ` <7f4815cdfcf5bc49df4bdd09d59a4f56ca2598f5.1283504065.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org>
2010-09-03 9:58 ` Richard Cochran
2010-09-04 14:06 ` Richard Cochran
2010-09-09 10:49 ` Thomas Gleixner
[not found] ` <alpine.LFD.2.00.1009091159260.2477-bi+AKbBUZKagILUCTcTcHdKyNwTtLsGr@public.gmane.org>
2010-09-09 13:34 ` Richard Cochran
[not found] ` <20100909133449.GB2823-7KxsofuKt4IfAd9E5cN8NEzG7cXyKsk/@public.gmane.org>
2010-09-09 20:10 ` Thomas Gleixner
[not found] ` <alpine.LFD.2.00.1009092102150.2477-bi+AKbBUZKagILUCTcTcHdKyNwTtLsGr@public.gmane.org>
2010-09-09 21:16 ` Thomas Gleixner
2010-09-09 22:53 ` john stultz
[not found] ` <1284072793.2762.259.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-09-10 9:23 ` Richard Cochran
2010-09-09 21:01 ` john stultz
[not found] ` <1284066084.2762.172.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-09-09 21:31 ` Thomas Gleixner
[not found] ` <cover.1283504065.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org>
2010-09-03 9:30 ` [PATCH 2/2] posix clocks: introduce a sysfs presence Richard Cochran
[not found] ` <84124d2479b8967cac2b35f852fc0fcae6ad9444.1283504065.git.richard.cochran-3mrvs1K0uXizZXS1Dc/lvw@public.gmane.org>
2010-09-09 22:19 ` john stultz
2010-09-09 23:00 ` Alan Cox
[not found] ` <20100910000008.1483fdd7-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2010-09-10 9:31 ` Richard Cochran
[not found] ` <20100910093135.GB10179-7KxsofuKt4IfAd9E5cN8NEzG7cXyKsk/@public.gmane.org>
2010-09-11 0:20 ` Greg KH
2010-09-09 9:58 ` [PATCH 0/2] [RFC] posix clock tuning Thomas Gleixner
[not found] ` <alpine.LFD.2.00.1009091152300.2477-bi+AKbBUZKagILUCTcTcHdKyNwTtLsGr@public.gmane.org>
2010-09-09 12:21 ` Richard Cochran
[not found] ` <20100909122156.GA2823-7KxsofuKt4IfAd9E5cN8NEzG7cXyKsk/@public.gmane.org>
2010-09-09 12:50 ` Thomas Gleixner
[not found] ` <alpine.LFD.2.00.1009091443250.2477-bi+AKbBUZKagILUCTcTcHdKyNwTtLsGr@public.gmane.org>
2010-09-09 15:02 ` Alan Cox
2010-09-04 17:23 ` Christoph Lameter
[not found] ` <alpine.DEB.2.00.1009041221240.888-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-09-04 17:48 ` Christian Riesch
[not found] ` <4C828652.4060804-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-09-05 1:37 ` Christoph Lameter
[not found] ` <alpine.DEB.2.00.1009042036540.9425-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-09-05 5:56 ` Richard Cochran
2010-09-05 1:47 ` Christoph Lameter
[not found] ` <alpine.DEB.2.00.1009042042130.9425-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-09-05 6:22 ` Richard Cochran
2010-09-05 7:20 ` Richard Cochran
2010-09-05 23:13 ` Christoph Lameter
[not found] ` <alpine.DEB.2.00.1009051759100.3480-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-09-06 7:09 ` Richard Cochran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1283504065.git.richard.cochran@omicron.at \
--to=richardcochran-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).