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]
Message-ID: <20211027090103.33e06b78@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date:   Wed, 27 Oct 2021 09:01:03 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Tony Nguyen <anthony.l.nguyen@...el.com>
Cc:     davem@...emloft.net, Caleb Sander <csander@...estorage.com>,
        netdev@...r.kernel.org, sassmann@...hat.com,
        Joern Engel <joern@...estorage.com>,
        Tony Brelinski <tony.brelinski@...el.com>
Subject: Re: [PATCH net-next 1/4] i40e: avoid spin loop in
 i40e_asq_send_command()

On Mon, 25 Oct 2021 10:55:05 -0700 Tony Nguyen wrote:
> +			cond_resched();
>  			udelay(50);

Why not switch to usleep_range() if we can sleep here?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ