Skip to content

Commit

Permalink
time: Add timekeeper lock
Browse files Browse the repository at this point in the history
Now that all the timekeeping variables are stored in
the timekeeper structure, add a new lock to protect the
structure.

For now, this lock nests under the xtime_lock for writes.

For readers, we don't need to take xtime_lock anymore.

CC: Thomas Gleixner <tglx@linutronix.de>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
  • Loading branch information
John Stultz committed Jan 27, 2012
1 parent 8fcce54 commit 70471f2
Showing 1 changed file with 82 additions and 44 deletions.
Loading

0 comments on commit 70471f2

Please sign in to comment.