Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716836

Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets

From Cong Wang <xiyou.wangcong@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets
Date 2017-08-21 22:20 +0200
Message-ID <uh1l0-wT-7@gated-at.bofh.it> (permalink)
References <ufUEV-7yR-13@gated-at.bofh.it> <ufUEW-7yR-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 18, 2017 at 11:44 AM, Vallish Vaidyeshwara
<vallish@amazon.com> wrote:
> -       *timeo_p = schedule_timeout(*timeo_p);
> +       /* Wait using highres timer */
> +       expires = ktime_add_ns(ktime_get(), jiffies_to_nsecs(*timeo_p));
> +       pre_sched_time = jiffies;
> +       if (schedule_hrtimeout(&expires, HRTIMER_MODE_ABS))

Does this work with MAX_SCHEDULE_TIMEOUT too??

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-18 21:00 +0200
  [PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-18 21:00 +0200
    Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to  timeout datagram sockets Cong Wang <xiyou.wangcong@gmail.com> - 2017-08-21 22:20 +0200
      Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to  timeout datagram sockets Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-22 13:20 +0200
  Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Richard Cochran <richardcochran@gmail.com> - 2017-08-18 22:20 +0200
    Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-19 00:30 +0200
      Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Richard Cochran <richardcochran@gmail.com> - 2017-08-19 08:30 +0200
        Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-20 03:50 +0200
          Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-21 20:30 +0200
            Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Richard Cochran <richardcochran@gmail.com> - 2017-08-22 08:30 +0200
              Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket Vallish Vaidyeshwara <vallish@amazon.com> - 2017-08-22 13:20 +0200

csiph-web