diff options
author | Willem de Bruijn <[email protected]> | 2020-12-18 14:05:35 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-19 11:18:38 -0800 |
commit | 7cdf7c20e97141eadb05121cc521c8eff47e7d93 (patch) | |
tree | a81fd48c0e15919f50667b921a0ab67c8c920704 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e59d3c64cba69b57263dff1d62838bc6a819ae37 (diff) |
epoll: convert internal api to timespec64
Patch series "add epoll_pwait2 syscall", v4.
Enable nanosecond timeouts for epoll.
Analogous to pselect and ppoll, introduce an epoll_wait syscall
variant that takes a struct timespec instead of int timeout.
This patch (of 4):
Make epoll more consistent with select/poll: pass along the timeout as
timespec64 pointer.
In anticipation of additional changes affecting all three polling
mechanisms:
- add epoll_pwait2 syscall with timespec semantics,
and share poll_select_set_timeout implementation.
- compute slack before conversion to absolute time,
to save one ktime_get_ts64 call.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Willem de Bruijn <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions