Messages in this thread | | | Date | Thu, 19 Jan 2006 14:31:35 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] BUILD_LOCK_OPS: cleanup preempt_disable() usage |
| |
* Oleg Nesterov <oleg@tv-sign.ru> wrote:
> This patch changes the code from: > > preempt_disable(); > for (;;) { > ... > preempt_disable(); > } > to: > for (;;) { > preempt_disable(); > ... > } > > which seems more clean to me and saves a couple of bytes for > each function. > > Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
good one!
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo - 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/
| |