[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170822111433.GA102755@amazon.com>
Date: Tue, 22 Aug 2017 11:14:34 +0000
From: Vallish Vaidyeshwara <vallish@...zon.com>
To: Cong Wang <xiyou.wangcong@...il.com>
CC: David Miller <davem@...emloft.net>, <shuah@...nel.org>,
"Linux Kernel Network Developers" <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Eduardo Valentin <eduval@...zon.com>, <anchalag@...zon.com>
Subject: Re: [PATCH RESEND 1/2] net: enable high resolution timer mode to
timeout datagram sockets
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@...zon.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
Powered by blists - more mailing lists