Thread (18 messages) 18 messages, 5 authors, 2022-01-04

Re: [PATCH net-next v5] rtnetlink: Support fine-grained netdevice bulk deletion

flat view

From: Lahav Schlesinger <hidden>
Date: 2021-12-08 21:50:45

On Tue, Dec 07, 2021 at 07:37:15AM -0800, Jakub Kicinski wrote:
CAUTION: External E-Mail - Use caution with links and attachments


On Mon, 6 Dec 2021 21:12:33 -0700 David Ahern wrote:
quoted
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 :(
quoted
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.
Thanks, I'll send a new patch with array API and all previous comments
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help