[PATCH] ia64: fix various problems in pfm_check_task_state()
Commands not requiring the monitored task to be stopped would spin in wait_task_inactive() forever. After call to wait_task_inactive(), state may have changed, therefore it needs to be rechecked. Signed-off-by: Stephane Eranian <eranian@hpl.hp.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
Showing
Please register or sign in to comment