Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Documentation: add a description for net.core.high_order_alloc_disable

A description is missing for the net.core.high_order_alloc_disable
option in admin-guide/sysctl/net.rst ; add it. The above sysctl option
was introduced by commit ce27ec60648d ("net: add high_order_alloc_disable
sysctl/static key").

Thanks to Eric for running again the benchmark cited in the above
commit, showing this knob is now mostly of historical importance.

Signed-off-by: Antoine Tenart <atenart@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220707080245.180525-1-atenart@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Antoine Tenart and committed by
Jakub Kicinski
40ad0a52 5b47d236

+12
+12
Documentation/admin-guide/sysctl/net.rst
··· 391 391 list is then passed to the stack when the number of segments reaches the 392 392 gro_normal_batch limit. 393 393 394 + high_order_alloc_disable 395 + ------------------------ 396 + 397 + By default the allocator for page frags tries to use high order pages (order-3 398 + on x86). While the default behavior gives good results in most cases, some users 399 + might have hit a contention in page allocations/freeing. This was especially 400 + true on older kernels (< 5.14) when high-order pages were not stored on per-cpu 401 + lists. This allows to opt-in for order-0 allocation instead but is now mostly of 402 + historical importance. 403 + 404 + Default: 0 405 + 394 406 2. /proc/sys/net/unix - Parameters for Unix domain sockets 395 407 ---------------------------------------------------------- 396 408