projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67de48
)
posix-cpu-timers: cpu_clock_sample_group() no longer needs siglock
author
Eric W. Biederman
<ebiederm@xmission.com>
Fri, 28 Feb 2020 17:08:45 +0000
(11:08 -0600)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 1 Mar 2020 10:21:43 +0000
(11:21 +0100)
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
kernel/time/posix-cpu-timers.c
patch
|
blob
|
history
diff --git
a/kernel/time/posix-cpu-timers.c
b/kernel/time/posix-cpu-timers.c
index
8ff6da7
..
46cc188
100644
(file)
--- 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)