Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Eric W. Biederman and committed by
Thomas Gleixner
a2efdbf4 a67de48b

+1 -3
+1 -3
kernel/time/posix-cpu-timers.c
··· 336 336 /* 337 337 * Sample a process (thread group) clock for the given task clkid. If the 338 338 * group's cputime accounting is already enabled, read the atomic 339 - * store. Otherwise a full update is required. Task's sighand lock must be 340 - * held to protect the task traversal on a full update. clkid is already 341 - * validated. 339 + * store. Otherwise a full update is required. clkid is already validated. 342 340 */ 343 341 static u64 cpu_clock_sample_group(const clockid_t clkid, struct task_struct *p, 344 342 bool start)