Re: [PATCH 4/5] thread_group_cputime: simplify, document the "alive" check

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Friday, June 11, 2010 - 8:15 am

On 06/11, Stanislaw Gruszka wrote:

No, we can't. thread_group_cputimer() does test-and-set ->running
under cputimer->lock.

But when I sent these patches, I realized we have another race here
(with or without these patches). I am already doing the fix.


Could you clarify?

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 4/5] thread_group_cputime: simplify, document t ..., Stanislaw Gruszka, (Fri Jun 11, 7:35 am)
Re: [PATCH 4/5] thread_group_cputime: simplify, document t ..., Oleg Nesterov, (Fri Jun 11, 8:15 am)
Re: [PATCH 4/5] thread_group_cputime: simplify, document t ..., Stanislaw Gruszka, (Fri Jun 11, 9:40 am)
[tip:sched/core] sched: thread_group_cputime: Simplify, do ..., tip-bot for Oleg Nes ..., (Fri Jun 18, 3:20 am)