Wakeup change state only if proc not running (v2)
authorFrancis Giraldeau <francis.giraldeau@usherbrooke.ca>
Wed, 26 Jan 2011 01:00:29 +0000 (20:00 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 26 Jan 2011 01:00:29 +0000 (20:00 -0500)
commit6b1f0e27f35150ee49c5d18fa5e5a0e298d24369
tree0b7313e84c2de7b11319bad62cc31a8f6a4b1aca
parent7d0aa40c0ca658e85876b06c7245292918588c13
Wakeup change state only if proc not running (v2)

The event kernel.sched_try_wakeup can occur for process already running (in
kernel/sched.c:try_to_wake_up). Hence, in this condition, this event must not
change the state of the process to LTTV_STATE_WAIT_CPU.

This patch supports SMP

Signed-off-by: Francis Giraldeau <francis.giraldeau@usherbrooke.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttv/lttv/state.c
This page took 0.023528 seconds and 4 git commands to generate.