Re: sys_epoll_wait high CPU load in 2.6.37

From: Eric Dumazet
Date: Wed Jan 26 2011 - 13:18:30 EST


Le mercredi 26 janvier 2011 Ã 10:06 -0800, Davide Libenzi a Ãcrit :

> Eric, if you look at fs/select.c (~line 925), poll does exactly the same
> thing as epoll do.
> It too, ignores the eventual return value of poll_select_set_timeout(), so
> maybe a little bit more optimized ktime_get_ts+timespec_add_ms could make
> sense.
>

OK, I'll post a V3 ;)

Thanks


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