diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-02-28 11:08:45 -0600 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-01 11:21:43 +0100 |
commit | a2efdbf4fcb38ec1ae99c9d54d52c34fa867dc71 (patch) | |
tree | 00abfd642e7c2e4c132daff104ea873455198dd1 /kernel/time | |
parent | a67de48b3075cbb6ec030205d7b78981def6596d (diff) |
posix-cpu-timers: cpu_clock_sample_group() no longer needs siglock
As of e78c3496790e ("time, signal: Protect resource use statistics with
seqlock") cpu_clock_sample_group() no longer needs siglock protection so
remove the stale comment.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/87eeuevduq.fsf@x220.int.ebiederm.org
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/posix-cpu-timers.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c index 8ff6da77a01f..46cc188bf5ab 100644 --- a/kernel/time/posix-cpu-timers.c +++ b/kernel/time/posix-cpu-timers.c @@ -336,9 +336,7 @@ static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) /* * Sample a process (thread group) clock for the given task clkid. If the * group's cputime accounting is already enabled, read the atomic - * store. Otherwise a full update is required. Task's sighand lock must be - * held to protect the task traversal on a full update. clkid is already - * validated. + * store. Otherwise a full update is required. clkid is already validated. */ static u64 cpu_clock_sample_group(const clockid_t clkid, struct task_struct *p, bool start) |