Re: RFC: poll change

Andrea Arcangeli (andrea@suse.de)
Wed, 15 Aug 2001 02:16:48 +0200


On Tue, Aug 14, 2001 at 05:06:20PM -0700, David S. Miller wrote:
> From: Andrea Arcangeli <andrea@suse.de>
> Date: Wed, 15 Aug 2001 02:03:03 +0200
>
> but OTOH the feedback I had was just happy with the 2.4 fix (so I didn't
> even checked if the 2.4 fix was fully compliant or not..).
>
> This is why I'm saying there is no practical reason to make
> this change.

Probably there isn't pratical reason agreed.

> The current code can actually improve performance, avoiding needlessly
> scanning fd==-1 entries.

you assume the entries above max_fds are set to -1, while strictly
speaking they don't need to.

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