]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
select: switch select() and poll() over to hrtimers
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 31 Aug 2008 15:26:40 +0000 (08:26 -0700)
committerArjan van de Ven <arjan@linux.intel.com>
Sat, 6 Sep 2008 04:35:03 +0000 (21:35 -0700)
commit8ff3e8e85fa6c312051134b3953e397feb639f51
tree526886377ca92a62f030c25bc8f91f13a6f991eb
parentbe5dad20a55e054a35dac7f6f5f184dc72b379b4
select: switch select() and poll() over to hrtimers

With lots of help, input and cleanups from Thomas Gleixner

This patch switches select() and poll() over to hrtimers.

The core of the patch is replacing the "s64 timeout" with a
"struct timespec end_time" in all the plumbing.

But most of the diffstat comes from using the just introduced helpers:
poll_select_set_timeout
poll_select_copy_remaining
timespec_add_safe
which make manipulating the timespec easier and less error-prone.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/compat.c
fs/select.c
include/linux/poll.h