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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 07 Apr 2017 05:59:02 +0200
From:   Mike Galbraith <efault@....de>
To:     Stephen Hemminger <stephen@...workplumber.org>
Cc:     Cong Wang <xiyou.wangcong@...il.com>,
        Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [Patch net] net_sched: replace yield() with cond_resched()

On Thu, 2017-04-06 at 18:13 -0400, Stephen Hemminger wrote:

> Why not replace yield with msleep(1) which gets rid of the inversion
> issues?

That's fine, just not super efficient, if that matters.

	-Mike

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ