Thread (50 messages) 50 messages, 5 authors, 2019-02-13

Re: [PATCH v2 06/28] kernel: Define gettimeofday vdso common code

From: Thomas Gleixner <hidden>
Date: 2019-02-08 19:30:32
Also in: linux-arch

On Fri, 8 Feb 2019, Thomas Gleixner wrote:
Will,

On Fri, 8 Feb 2019, Will Deacon wrote:
quoted
On Fri, Dec 07, 2018 at 05:53:21PM +0000, Will Deacon wrote:
quoted
Anyway, moving the counter read into the protected region is a little fiddly
because the memory barriers we have in there won't give us the ordering we
need. We'll instead need to do something nasty, like create a dependency
from the counter read to the read of the seqlock:

Maybe the untested crufty hack below, although this will be a nightmare to
implement in C.
How is the in kernel ktime_get() correctness guaranteed then?

Thanks,

	tglx

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help