[RFC patch 4/8] timekeeping: Split timekeeper_lock into lock and seqcount

2013-02-21 Thread Thomas Gleixner
We want to shorten the seqcount write hold time. So split the seqlock into a lock and a seqcount. Open code the seqwrite_lock in the places which matter and drop the sequence counter update where it's pointless. Signed-off-by: Thomas Gleixner --- kernel/time/timekeeping.c | 118

[RFC patch 4/8] timekeeping: Split timekeeper_lock into lock and seqcount

2013-02-21 Thread Thomas Gleixner
We want to shorten the seqcount write hold time. So split the seqlock into a lock and a seqcount. Open code the seqwrite_lock in the places which matter and drop the sequence counter update where it's pointless. Signed-off-by: Thomas Gleixner t...@linutronix.de --- kernel/time/timekeeping.c |