Re: [PATCH] fs: sys_poll with timeout -1 bug fix

From: Nishanth Aravamudan
Date: Thu Jun 15 2006 - 11:55:20 EST


On 15.06.2006 [17:33:05 +0200], frode isaksen wrote:
> From: Frode Isaksen <frode.isaksen@xxxxxxxxx>
>
> If you do a poll() call with timeout -1, the wait will be a big
> number (depending on HZ) instead of infinite wait, since -1 is
> passed to the msecs_to_jiffies function.
>
> Signed-off-by: Frode Isaksen <frode.isaksen@xxxxxxxxx>
Acked-by: Nishanth Aravamudan <nacc@xxxxxxxxxx>

Thanks,
Nish

--
Nishanth Aravamudan <nacc@xxxxxxxxxx>
IBM Linux Technology Center
-
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/