[PATCH] set_task_state() UP memory barriers
This fixes the UP set_task_state and set_current_state in 2.5.43 to ensure that we don't re-order loads around the store for setting task->state. This patch is from Nicolas Pitre, nico@cam.org (As a side note - 2.4.10 also contains the same problem, but 2.2 contain the memory barrier.)
Showing
Please register or sign in to comment