Re: [PATCH] [RFC] Optimize select/poll by putting small data sets on the stack

From: Andi Kleen
Date: Tue Jan 03 2006 - 19:32:01 EST


On Wednesday 04 January 2006 01:28, Arnd Bergmann wrote:

> Hmm, can you include the same change for compat_sys_select()?
> When that was introduced, sys_select and compat_sys_select were
> basically identical in their code, which makes it a lot easier
> to verify that the compat_ version is correct.

Ah good point. I forgot about those. Will fix them up for the next version
of the patch.

> Interestingly, doing a diff between sys_select and compat_sys_select
> in the current kernel seems to suggest that they are both buggy
> in that they miss checks for failing __put_user, but in /different/
> places.

Ok will do a sync first.

-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/