commit | 0781b909b5586f4db720b5d1838b78f9d8e42f14 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <[email protected]> | Tue Feb 01 15:52:35 2011 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Feb 02 16:03:18 2011 -0800 |
tree | 767e53bf2cd3bebbc1a94f64632b53fdad31828d | |
parent | 48db54ee2f41e8ae2faf330b55db34a9fffb5b3c [diff] |
epoll: epoll_wait() should not use timespec_add_ns() commit 95aac7b1cd224f ("epoll: make epoll_wait() use the hrtimer range feature") added a performance regression because it uses timespec_add_ns() with potential very large 'ns' values. [[email protected]: s/epoll_set_mstimeout/ep_set_mstimeout/, per Davide] Reported-by: Simon Kirby <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Cc: Shawn Bohrer <[email protected]> Acked-by: Davide Libenzi <[email protected]> Cc: <[email protected]> [2.6.37.x] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>