lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 21 Aug 2017 13:10:34 -0700
From:   Cong Wang <xiyou.wangcong@...il.com>
To:     Vallish Vaidyeshwara <vallish@...zon.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 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))

Does this work with MAX_SCHEDULE_TIMEOUT too??

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ