Re: [PATCH 1/2] do_sys_poll: simplify playing with on-stack data

From: Andi Kleen
Date: Sat Jul 07 2007 - 19:52:21 EST


On Saturday 07 July 2007 20:48, Oleg Nesterov wrote:
> Cleanup. Lessens both the source and compiled code (100 bytes) and imho
> makes the code much more understandable.
>
> With this patch "struct poll_list *head" always points to on-stack
> stack_pps, so we can remove all "is it on-stack" and "was it initialized"
> checks.

Looks good.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/