linux/Documentation
Eric Dumazet dd378109d2 net-sysfs: use rps_tag_ptr and remove metadata from rps_sock_flow_table
Instead of storing the @mask at the beginning of rps_sock_flow_table,
use 5 low order bits of the rps_tag_ptr to store the log of the size.

This removes a potential cache line miss to fetch @mask.

More importantly, we can switch to vmalloc_huge() without wasting memory.

Tested with:

numactl --interleave=all bash -c "echo 4194304 >/proc/sys/net/core/rps_sock_flow_entries"

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260302181432.1836150-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
History 2026-03-04 16:54:09 -08:00
..
ABI dmaengine updates for v7.0 2026-02-17 11:47:17 -08:00
accel Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
accounting delayacct: add timestamp of delay max 2026-01-31 16:16:06 -08:00
admin-guide vsock: document write-once behavior of the child_ns_mode sysctl 2026-02-26 11:10:03 +01:00
arch RISC-V updates for v7.0 2026-02-12 19:17:44 -08:00
block block: remove bio_last_bvec_all 2026-01-26 21:07:48 -07:00
bpf bpf-next-7.0 2026-02-10 11:26:21 -08:00
cdrom Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
core-api A handful of small, late-arriving documentation fixes. 2026-02-15 10:47:59 -08:00
cpu-freq cpufreq: Drop unused symbol CPUFREQ_ETERNAL 2025-10-01 13:57:22 +02:00
crypto This update includes the following changes: 2025-12-03 11:28:38 -08:00
dev-tools Documentation: Coccinelle: document debug log handling 2026-02-21 17:22:45 +01:00
devicetree dt-bindings: net: dsa: maxlinear,mxl862xx: remove port label 2026-03-04 16:40:36 -08:00
doc-guide Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
driver-api dmaengine updates for v7.0 2026-02-17 11:47:17 -08:00
edac cxl/edac: Add CXL memory device soft PPR control feature 2025-05-23 13:25:06 -07:00
fault-injection Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
fb Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
features s390: Document s390 stackprotector support 2026-02-03 12:48:27 +01:00
filesystems overlayfs updates for 7.0 2026-02-17 15:08:24 -08:00
firmware-guide docs: fix 're-use' -> 'reuse' in documentation 2026-02-02 09:54:15 -07:00
firmware_class firmware: revamp firmware documentation 2017-01-11 09:42:59 +01:00
fpga Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
gpu drm for 7.0-rc1 2026-02-11 12:55:44 -08:00
hid Documentation: hid: intel-ish-hid: Document PRODUCT_FAMILY firmware matching 2026-01-07 22:06:07 +01:00
hwmon hwmon updates for v7.0 2026-02-11 11:00:19 -08:00
i2c Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
iio docs: iio: ad4062: Add GPIO Controller support 2025-12-31 17:59:25 +00:00
images docs: add SVG version of the Linux logo 2022-06-01 09:32:45 -06:00
infiniband Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
input docs: fix 're-use' -> 'reuse' in documentation 2026-02-02 09:54:15 -07:00
isdn Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
kbuild Kbuild/Kconfig updates for 7.0 2026-02-11 13:40:35 -08:00
kernel-hacking Documentation: kernel-hacking: Remove :c:func: annotations 2026-01-06 15:15:15 -07:00
leds docs: leds: Document TI LP5812 LED driver 2026-02-04 09:23:37 +00:00
litmus-tests Documentation/litmus-tests: Make cmpxchg() tests safe for klitmus 2024-05-06 14:29:21 -07:00
livepatch Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
locking Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
maintainer NFSD: Add a subsystem policy document 2025-11-16 18:20:11 -05:00
mhi Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
misc-devices TTY / Serial driver updates for 7.0-rc1 2026-02-17 09:30:52 -08:00
mm A handful of small, late-arriving documentation fixes. 2026-02-15 10:47:59 -08:00
netlabel Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
netlink NFSD 7.0 Release Notes 2026-02-12 08:23:53 -08:00
networking net-sysfs: use rps_tag_ptr and remove metadata from rps_sock_flow_table 2026-03-04 16:54:09 -08:00
nvdimm nvdimm: fixes to maintainter-entry-profile 2020-05-25 10:19:19 -06:00
nvme docs: nvme: fix grammar in nvme-pci-endpoint-target.rst 2025-07-17 13:38:07 +02:00
PCI Networking changes for 7.0 2026-02-11 19:31:52 -08:00
pcmcia Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
peci Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
power power supply and reset changes for the 7.0 series 2026-02-12 18:24:37 -08:00
process A handful of small, late-arriving documentation fixes. 2026-02-15 10:47:59 -08:00
RCU A slightly calmer cycle for docs this time around, though there is still a 2026-02-09 20:53:18 -08:00
rust Rust changes for v6.20 / v7.0 2026-02-10 11:53:01 -08:00
scheduler bpf-next-7.0 2026-02-10 11:26:21 -08:00
scsi SCSI misc on 20260212 2026-02-12 15:43:02 -08:00
security docs: trusted-encryped: add PKWM as a new trust source 2026-01-30 09:27:27 +05:30
sound docs: fix 're-use' -> 'reuse' in documentation 2026-02-02 09:54:15 -07:00
sphinx docs: automarkup.py: Skip common English words as C identifiers 2026-01-27 10:35:57 -07:00
sphinx-includes Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
sphinx-static docs: custom.css: add CSS for python 2026-01-23 11:37:38 -07:00
spi spi: Updates for v7.0 2026-02-11 09:43:43 -08:00
staging docs: Update documentation to avoid mentioning of kernel.h 2025-12-22 14:59:18 -07:00
sunrpc/xdr Add RPC language definition of NFSv4 POSIX ACL extension 2026-01-29 09:48:33 -05:00
target Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
tee Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
timers Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
tools RTLA patches for v7.0 2026-02-12 14:31:02 -08:00
trace Char/Misc/IIO driver changes for 7.0-rc1 2026-02-17 09:11:04 -08:00
translations mm.git review status for linus..mm-stable 2026-02-12 11:32:37 -08:00
usb USB / Thunderbolt changes for 7.0-rc1 2026-02-17 09:36:43 -08:00
userspace-api Char/Misc/IIO driver changes for 7.0-rc1 2026-02-17 09:11:04 -08:00
virt Loongarch: 2026-02-13 11:31:15 -08:00
w1 Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
watchdog linux-watchdog 6.20-rc1 tag 2026-02-16 12:21:22 -08:00
wmi platform-drivers-x86 for v7.0-1 2026-02-13 15:39:15 -08:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
.renames.txt net: ethernet: neterion: s2io: remove unused driver 2026-01-28 20:08:07 -08:00
atomic_bitops.txt wait_on_bit: add an acquire memory barrier 2022-08-26 09:30:25 -07:00
atomic_t.txt Documentation/atomic_t: Emphasize that failed atomic operations give no ordering 2024-05-06 14:29:04 -07:00
Changes docs: add back 'Documentation/Changes' file (as symlink) 2016-12-14 16:30:12 -08:00
CodingStyle doc: re-add CodingStyle and SubmittingPatches 2016-10-24 08:12:35 -02:00
conf.py Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
docutils.conf doc-rst: Add missing newline at end of file 2019-06-20 14:16:56 -06:00
index.rst docs: fix typo in firmware-related section 2025-05-07 00:53:22 -06:00
Kconfig docs: move get_abi.py to tools/docs 2025-10-28 16:01:20 -06:00
Makefile docs: Makefile: wrap SPHINXDIRS help text 2026-01-06 14:37:08 -07:00
memory-barriers.txt memory-barriers.txt: Sort wait_event* and wait_on_bit* list alphabetically 2025-11-08 19:02:26 -08:00
SubmittingPatches doc: re-add CodingStyle and SubmittingPatches 2016-10-24 08:12:35 -02:00
subsystem-apis.rst Documentation/EDAC: Fix warning document isn't included in any toctree 2025-04-01 22:26:47 +02:00