From: Kevin Hao Date: Fri, 8 May 2020 14:09:24 +0000 (+0800) Subject: docs: vm: page_frags.rst: Fix the reference of stale function X-Git-Tag: Ubuntu-5.10.0-12.13~2780^2~24 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ea8fdf1a40e9941e7eca76c057abd8bc03acb40e;p=mirror_ubuntu-hirsute-kernel.git docs: vm: page_frags.rst: Fix the reference of stale function The __netdev_alloc_frag() has been dropped by commit 7ba7aeabbaba ("net: Don't disable interrupts in napi_alloc_frag()"). So replace it with netdev_alloc_frag(). Signed-off-by: Kevin Hao Link: https://lore.kernel.org/r/20200508140924.18220-1-haokexin@gmail.com Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/vm/page_frags.rst b/Documentation/vm/page_frags.rst index 637cc49d1b2f..7d6f9385d129 100644 --- a/Documentation/vm/page_frags.rst +++ b/Documentation/vm/page_frags.rst @@ -26,7 +26,7 @@ to be disabled when executing the fragment allocation. The network stack uses two separate caches per CPU to handle fragment allocation. The netdev_alloc_cache is used by callers making use of the -__netdev_alloc_frag and __netdev_alloc_skb calls. The napi_alloc_cache is +netdev_alloc_frag and __netdev_alloc_skb calls. The napi_alloc_cache is used by callers of the __napi_alloc_frag and __napi_alloc_skb calls. The main difference between these two calls is the context in which they may be called. The "netdev" prefixed functions are usable in any context as these