Commit 7cb9a94c authored by Thomas Gleixner's avatar Thomas Gleixner

posix-cpu-timers: Fixup stale comment

The comment above cleanup_timers() is outdated. The timers are only removed
from the task/process list heads but not modified in any other way.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarFrederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190819143801.747233612@linutronix.de
parent 3758b0f8
...@@ -412,9 +412,10 @@ static void cleanup_timers_list(struct list_head *head) ...@@ -412,9 +412,10 @@ static void cleanup_timers_list(struct list_head *head)
} }
/* /*
* Clean out CPU timers still ticking when a thread exited. The task * Clean out CPU timers which are still armed when a thread exits. The
* pointer is cleared, and the expiry time is replaced with the residual * timers are only removed from the list. No other updates are done. The
* time for later timer_gettime calls to return. * corresponding posix timers are still accessible, but cannot be rearmed.
*
* This must be called with the siglock held. * This must be called with the siglock held.
*/ */
static void cleanup_timers(struct list_head *head) static void cleanup_timers(struct list_head *head)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment