diff options
| author | Stanislav Fomichev <sdf.kernel@gmail.com> | 2026-04-16 21:57:00 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-04-21 13:50:13 +0300 |
| commit | a4c833278144917982510ca43a3438155756122a (patch) | |
| tree | 9ffa106f74091f1044c02d7c690d4903e3c485f4 /scripts/patch-kernel | |
| parent | 3554b4345d855089ab7af5e3557f5dc3262d14c9 (diff) | |
| download | linux-a4c833278144917982510ca43a3438155756122a.tar.xz | |
net: cache snapshot entries for ndo_set_rx_mode_async
Add a per-device netdev_hw_addr_list cache (rx_mode_addr_cache) that
allows __hw_addr_list_snapshot() and __hw_addr_list_reconcile() to
reuse previously allocated entries instead of hitting GFP_ATOMIC on
every snapshot cycle.
snapshot pops entries from the cache when available, falling back to
__hw_addr_create(). reconcile splices both snapshot lists back into
the cache via __hw_addr_splice(). The cache is flushed in
free_netdev().
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20260416185712.2155425-4-sdf@fomichev.me
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
