Messages in this thread | | | Date | Fri, 12 Sep 2003 15:20:17 -0300 | From | Felipe W Damasio <> | Subject | [PATCH] kernel/futex.c: Uneeded memory barrier |
| |
Hi Rusty,
Patch against 2.6-test5.
Kills an unneeded set_current_state after schedule_timeout, since it already guarantees that the task will be TASK_RUNNING.
Also, when setting the state to TASK_RUNNING, isn't that memory barrier unneeded? Patch removes this memory barrier too.
If it looks good, please consider applying.
Thanks.
Felipe
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |