[PATCH 005/124] staging: lustre: obdclass: optimize busy loop wait

2016-09-18 Thread James Simmons
From: Alexander Zarochentsev two optimizations in the busy loop wait in class_cleanup(): (1) remove unnecessary spinlocks protecting obd_conn_inprogress access (2) replace cond_resched by more suitable yield to unconditionally yield the CPU if the

[PATCH 005/124] staging: lustre: obdclass: optimize busy loop wait

2016-09-18 Thread James Simmons
From: Alexander Zarochentsev two optimizations in the busy loop wait in class_cleanup(): (1) remove unnecessary spinlocks protecting obd_conn_inprogress access (2) replace cond_resched by more suitable yield to unconditionally yield the CPU if the condition check fails. Signed-off-by: