Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1267190
| Path | csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.mb-net.net!open-news-network.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Arnd Bergmann <arnd@arndb.de> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 |
| Date | Wed, 11 Nov 2015 14:40:03 +0100 |
| Message-ID | <qtDN1-3mL-27@gated-at.bofh.it> (permalink) |
| References | <qtfKF-4Aq-5@gated-at.bofh.it> <qtjuX-6Yy-25@gated-at.bofh.it> <qtCee-2hA-3@gated-at.bofh.it> |
| X-Original-To | Stefano Stabellini <stefano.stabellini@eu.citrix.com> |
| User-Agent | KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7Bit |
| Content-Type | text/plain; charset="us-ascii" |
| X-Provags-ID | V03:K0:zoW8VGQWNaVqBtZDOTGdDfqdioVhGLTIa4nyKN5wTW+RAc4zcHj 67duQdNtD32WrduYPec9vhsbMwbQt0BjRGXBEtvYsjIy+cd0OQfBhEfgs+h8+Yfy8SM/qw7 3aQ2ZOR++fztM60jZhWuabEDTKKjpbiEUg1sfiFHsJ3FcNnpp/pD5yo5N/8LBDJT5Q3HRHy 7egT2v9Jf5GAeEdmATayw== |
| X-Ui-Out-Filterresults | notjunk:1;V01:K0:pttd2cEzDNo=:6V7T9LuZP6mQKjYZsCeWqM w57GgQMHiT+KeUF+e3g5d+enalEHOD1mX4T3hF0SEXF0KdT2TSeiZz+nzxSxUTssdhjAnn7tM omSptbZuhm7r9e4ZoC6Cxnx+J9tnaizozel6yvjiOPaNGqAgsumqU0Bncjk1fcbapPjZ/kok+ 8DC6irxcsHmiCJnMacs95x6zvCRvLfmITq3D6J72E9iXjLhJxdIGIZXrmtLwAW/YE8aG2AFJB FjaFyGvqSXEcHGLQOQU25KBaHkhjAm1mm7kWb1jnd5/3VjKE4yDlXEFHIeBI8mx+RVN8rY8b1 LxOm6tAFSdlnQUq2NuawWfUFwh7hWdY4LPWSX+0I2krhcdM8ajUPr/KoRcnXSEApGs7+kCn7j nUdjfMmLvQC2KXqk+Vo0y6zH5QozJfLghSDTv9FIkhwZk7woV31dp0R0+ZgHBZzVgDOVcjV9H dFBj+YkBD2T41d+8S1Vcljkj1lcDENVS/K49X6Vkc4Fu6p01O5RHFOD75NQsBkDfDJT5rA21P rgN8OZB42nUsATsghOl/5a5b7VCizmgGVhZ0sdWnC2z1bhljQBvcx3szoQbJYDEcODOwUAl2P Skw5oUoIvp3URnQyrq2L0ca8gudVeTVZAF6r8AHrYlYAG/V4+xQhSFZKNlJc6xwNyallEfTFJ wtUIbfdEOi+1tBCqMGHDyit6/ZV9cDvPlnTTaPQiqKFeTPWH/XyDLM1TwDkrEqqRQOiUWThlM izV2oxCFtBM75dQJ |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Thomas Gleixner <tglx@linutronix.de>, John Stultz <john.stultz@linaro.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, xen-devel@lists.xensource.com, Ian.Campbell@citrix.com, Peter Zijlstra <peterz@infradead.org>, lkml <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@kernel.org> |
| X-Original-Date | Wed, 11 Nov 2015 14:31:33 +0100 |
| X-Original-Message-ID | <23540141.N5sax8EYBi@wuerfel> |
| X-Original-References | <alpine.DEB.2.02.1511101131350.5676@kaball.uk.xensource.com> <alpine.DEB.2.11.1511101046420.3915@nanos> <alpine.DEB.2.02.1511101656330.5676@kaball.uk.xensource.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1267190 |
Show key headers only | View raw
On Wednesday 11 November 2015 11:51:26 Stefano Stabellini wrote: > On Tue, 10 Nov 2015, Thomas Gleixner wrote: > > On Tue, 10 Nov 2015, John Stultz wrote: > > > I'm sort of objecting to a different issue, where the > > > __current_kernel_time() implementation probably shouldn't be grabbing > > > the tk_core.timekeeper directly, and instead should take a passed > > > pointer to a timekeeper. The vdso/pv_clock usage should have a > > > timekeeper passed to them that they could use. > > > > That usage of __current_kernel_time() in that xen notifier is silly to > > begin with. The notifier gets already called with a pointer to the > > time keeper. That xen implementation just does not use it. > > > > We extract exactly that information in the vdso updates without > > calling back into the core code. So for solving that xen thing we do > > not need a 64 bit variant of __current_kernel_time() at all. The > > notifier has the pointer to the timekeeper and can just grab data from > > there. > > Many thanks for the suggestion, I'll do that. > Should I open code tk_xtime in the xen notifier, or should I export it > in timekeeper_internal.h? tk_xtime is a 'static inline' function, I don't see a good way to make that accessible, and you really want the elements separately, so I'd open-code it without going through timespec64. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/7] Xen wallclock on arm and arm64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 13:00 +0100
[PATCH v2 3/7] xen/arm: introduce HYPERVISOR_platform_op on arm and arm64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 13:00 +0100
[PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 13:00 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Peter Zijlstra <peterz@infradead.org> - 2015-11-10 13:30 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 15:40 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Arnd Bergmann <arnd@arndb.de> - 2015-11-10 13:40 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 16:20 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 John Stultz <john.stultz@linaro.org> - 2015-11-10 16:30 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Thomas Gleixner <tglx@linutronix.de> - 2015-11-10 16:40 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 John Stultz <john.stultz@linaro.org> - 2015-11-10 16:50 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Thomas Gleixner <tglx@linutronix.de> - 2015-11-10 17:00 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-11 13:00 +0100
Re: [PATCH v2 1/7] timekeeping: introduce __current_kernel_time64 Arnd Bergmann <arnd@arndb.de> - 2015-11-11 14:40 +0100
[PATCH v2 4/7] xen: introduce XENPF_settime64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 13:00 +0100
Re: [PATCH v2 4/7] xen: introduce XENPF_settime64 Arnd Bergmann <arnd@arndb.de> - 2015-11-10 13:40 +0100
Re: [PATCH v2 4/7] xen: introduce XENPF_settime64 Arnd Bergmann <arnd@arndb.de> - 2015-11-10 15:50 +0100
Re: [PATCH v2 4/7] xen: introduce XENPF_settime64 Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 15:50 +0100
[PATCH v2 6/7] xen/arm: introduce xen_read_wallclock Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 13:00 +0100
Re: [PATCH v2 6/7] xen/arm: introduce xen_read_wallclock Arnd Bergmann <arnd@arndb.de> - 2015-11-10 13:40 +0100
[PATCH v2 7/7] xen/arm: set the system time in Xen via the XENPF_settime64 hypercall Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 13:00 +0100
Re: [PATCH v2 7/7] xen/arm: set the system time in Xen via the XENPF_settime64 hypercall Arnd Bergmann <arnd@arndb.de> - 2015-11-10 13:50 +0100
Re: [PATCH v2 7/7] xen/arm: set the system time in Xen via the XENPF_settime64 hypercall Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 17:00 +0100
[PATCH v2 2/7] xen: rename dom0_op to platform_op Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-10 13:00 +0100
csiph-web