diff options
author | Eric Dumazet | 2011-02-02 00:52:35 +0100 |
---|---|---|
committer | Linus Torvalds | 2011-02-03 01:03:18 +0100 |
commit | 0781b909b5586f4db720b5d1838b78f9d8e42f14 (patch) | |
tree | 767e53bf2cd3bebbc1a94f64632b53fdad31828d /fs/splice.c | |
parent | mm/migration: fix page corruption during hugepage migration (diff) | |
download | kernel-qcow2-linux-0781b909b5586f4db720b5d1838b78f9d8e42f14.tar.gz kernel-qcow2-linux-0781b909b5586f4db720b5d1838b78f9d8e42f14.tar.xz kernel-qcow2-linux-0781b909b5586f4db720b5d1838b78f9d8e42f14.zip |
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.
[akpm@linux-foundation.org: s/epoll_set_mstimeout/ep_set_mstimeout/, per Davide]
Reported-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Cc: <stable@kernel.org> [2.6.37.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions