Skip to content

Use timespec64 for select like timeouts

Deepa Dinamani linux-fsdevel lkml netdev 1 version Applied

Status from this message: [merged] time-remove-timespec_add_safe.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied 3/4

Patches in v1 Applied · 3/4

#Subject and filesSizeRepliesApplied
1/3time: Add missing implementation for timespec64_add_safe()include/linux/time64.h kernel/time/time.c+26 -32 repliesApplied
2/3fs: poll/select/recvmmsg: use timespec64 for timeout eventsfs/eventpoll.c fs/select.c include/linux/poll.h +1 more+54 -440 repliesApplied
2/3fs: poll/select/recvmmsg: use timespec64 for timeout eventsfs/eventpoll.c fs/select.c include/linux/poll.h +1 more+54 -445 replies
3/3time: Remove timespec_add_safe()include/linux/time64.h kernel/time/time.c+7 -120 repliesApplied

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannDavid S. Miller
1/3
2/3R-b A-b
2/3R-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Use timespec64 for select like timeouts

The series is part of y2038 changes.

This changes a few syscalls that have common functions to use struct timespec64 instead of struct timespec.

This does not include changes to system call uapi interfaces. Those will be in a different series.

Thanks to Arnd Bergmann for comments on the patches.

Deepa Dinamani (3):
time: Add missing implementation for timespec64_add_safe()
fs: poll/select/recvmmsg: use timespec64 for timeout events
time: Remove timespec_add_safe()

 fs/eventpoll.c         | 12 ++++-----
 fs/select.c            | 67 ++++++++++++++++++++++++++++----------------------
 include/linux/poll.h   | 11 +++++----
 include/linux/time64.h | 17 ++++++-------
 kernel/time/time.c     | 21 ++++++++++++++++
 net/socket.c           |  8 +++---
 6 files changed, 82 insertions(+), 54 deletions(-)
Signature · 7 lines
1.9.1

Cc: John Stultz <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: [email protected]