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: <20211207073715.386e3f42@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date:   Tue, 7 Dec 2021 07:37:15 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     David Ahern <dsahern@...il.com>
Cc:     Lahav Schlesinger <lschlesinger@...venets.com>,
        netdev@...r.kernel.org, nikolay@...dia.com
Subject: Re: [PATCH net-next v5] rtnetlink: Support fine-grained netdevice
 bulk deletion

On Mon, 6 Dec 2021 21:12:33 -0700 David Ahern wrote:
> The need to walk the list twice (3 really with the sort) to means the
> array solution is better.

Technically the linear walk will be dwarfed by the sort for non-trivial
inputs (have I been conducting too many coding interviews?) 

Especially with retpolines :(

> I liked the array variant better. Jakub?

I always default to attr-per-member unless there is a strong constraint
on message size. Trying to extend old school netlink (TC etc) left me
scarred. But we can do array, no big deal.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ