diff options
author | Frederic Weisbecker <[email protected]> | 2013-10-11 17:41:11 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2013-12-09 16:53:51 +0100 |
commit | 33ab0fec33527e8b5ab124cff6aefd4746508e04 (patch) | |
tree | b2802de1741f3af7e76fa47402d82e903947bc5b /fs/jbd/commit.c | |
parent | af82eb3c3068877a6b1989796a06b846b1e9e1c3 (diff) |
posix-timers: Consolidate posix_cpu_clock_get()
Consolidate the clock sampling common code used for both local
and remote targets.
Note that this introduces a tiny user ABI change: if a
PID is passed to clock_gettime() along the clockid,
we used to forbid a process wide clock sample when that
PID doesn't belong to a group leader. Now after this patch
we allow process wide clock samples if that PID belongs to
the current task, even if the current task is not the
group leader.
But local process wide clock samples are allowed if PID == 0
(current task) even if the current task is not the group leader.
So in the end this should be no big deal as this actually harmonize
the behaviour when the remote sample is actually a local one.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Kosaki Motohiro <[email protected]>
Cc: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions