mbox series

[0/2] Upper bound mode for kernel timers

Message ID 20220323111642.2517885-1-asavkov@redhat.com (mailing list archive)
Headers show
Series Upper bound mode for kernel timers | expand

Message

Artem Savkov March 23, 2022, 11:16 a.m. UTC
As previously discussed [1] we had a report of a regression in TCP keepalive
timer where timers were up to 4 minutes late resulting in disconnects.

This patchset tries to fix the problem by introducing upper bound kernel timers
and making tcp keepalive timer use those.

[1] https://lore.kernel.org/all/20210302001054.4qgrvnkltvkgikzr@treble/T/#u

Artem Savkov (2):
  timer: introduce upper bound timers
  net: make tcp keepalive timer upper bound

 include/linux/timer.h           |  3 ++-
 kernel/time/timer.c             | 36 ++++++++++++++++++++-------------
 net/ipv4/inet_connection_sock.c |  2 +-
 3 files changed, 25 insertions(+), 16 deletions(-)