]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
seqlock: Introduce raw_read_seqcount_latch()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 27 May 2015 01:39:36 +0000 (11:09 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 28 May 2015 02:02:06 +0000 (11:32 +0930)
commit7fc26327b75685f37f58d64bdb061460f834f80d
tree69fecbbe48ac91608e88987c0bd0c8e5cebfa1b5
parent0a04b0166929405cd833c1cc40f99e862b965ddc
seqlock: Introduce raw_read_seqcount_latch()

Because with latches there is a strict data dependency on the seq load
we can avoid the rmb in favour of a read_barrier_depends.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/seqlock.h
kernel/time/timekeeping.c