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] [day] [month] [year] [list]
Message-ID: <CANn89i+xbEwk4u3jzO42B-583uD1NiC39k+foteHr6pT5vtzMA@mail.gmail.com>
Date: Sun, 22 Sep 2024 17:13:39 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: tao <wangtaowt166@....com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com, jiri@...nulli.us, 
	bigeasy@...utronix.de, lorenzo@...nel.org, netdev@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netdev: support netdev_budget for napi thread poll

On Sun, Sep 22, 2024 at 5:08 PM tao <wangtaowt166@....com> wrote:
>
> For napi thread poll, we expect the net.core.netdev_budget to be available.
>
> In the loop, poll as many packets as possible to netdev_budget
>

We do not 'expect' net.core.netdev_budget to be available, we have
better cond_resched() calls.

Please provide reasoning, and keep in mind net-next is currently closed.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ