* [PATCH] docs: vm: page_frags.rst: Fix the reference of stale function
@ 2020-05-08 14:09 Kevin Hao
2020-05-15 17:35 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hao @ 2020-05-08 14:09 UTC (permalink / raw)
To: linux-doc; +Cc: Jonathan Corbet
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 <haokexin@gmail.com>
---
Documentation/vm/page_frags.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.26.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: vm: page_frags.rst: Fix the reference of stale function
2020-05-08 14:09 [PATCH] docs: vm: page_frags.rst: Fix the reference of stale function Kevin Hao
@ 2020-05-15 17:35 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2020-05-15 17:35 UTC (permalink / raw)
To: Kevin Hao; +Cc: linux-doc
On Fri, 8 May 2020 22:09:24 +0800
Kevin Hao <haokexin@gmail.com> wrote:
> 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 <haokexin@gmail.com>
Applied, thanks.
It would be nice if that document used the normal function() notation
(with parentheses), oh well...
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-15 17:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 14:09 [PATCH] docs: vm: page_frags.rst: Fix the reference of stale function Kevin Hao
2020-05-15 17:35 ` Jonathan Corbet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.