Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1717317
| From | Vallish Vaidyeshwara <vallish@amazon.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to timeout datagram sockets |
| Date | 2017-08-22 13:20 +0200 |
| Message-ID | <uhfnX-1zX-3@gated-at.bofh.it> (permalink) |
| References | <ufUEV-7yR-13@gated-at.bofh.it> <ufUEW-7yR-37@gated-at.bofh.it> <uh1l0-wT-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 21, 2017 at 01:10:34PM -0700, Cong Wang wrote: > 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)) > Hello Cong, > Does this work with MAX_SCHEDULE_TIMEOUT too?? > Thanks for pointing out MAX_SCHEDULE_TIMEOUT. I have made minor change to accommodate MAX_SCHEDULE_TIMEOUT and will send out next version of the patch for review. Thanks. -Vallish
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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