Re: [PATCH]: Fix regression added by ppoll/pselect code.

From: David Woodhouse
Date: Thu Jan 19 2006 - 23:48:56 EST


On Thu, 2006-01-19 at 16:40 -0800, David S. Miller wrote:
> The two ROUND_UP() calls upon entry are using {tv,ts}_sec where it
> should instead be using {tv_usec,ts_nsec}, which perfectly explains
> the observed incorrect behavior.

Hm, I thought akpm had already fixed that -- but thanks.

His patch also changed the simple powers of ten to the slightly
confusing 'NSEC_PER_SEC' and 'USEC_PER_SEC' macros, as if those numbers
are subject to change by later decree, and shouldn't be hard-coded. I
suspect we can do without that part, although I don't really care either
way.

--
dwmw2

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