Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -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)