[RFC v11 05/14] mm: page_frag: avoid caller accessing 'page_frag_cache' directly
Alexander H Duyck
alexander.duyck at gmail.com
Sun Jul 21 16:01:19 PDT 2024
On Fri, 2024-07-19 at 17:33 +0800, Yunsheng Lin wrote:
> Use appropriate frag_page API instead of caller accessing
> 'page_frag_cache' directly.
>
> CC: Alexander Duyck <alexander.duyck at gmail.com>
> Signed-off-by: Yunsheng Lin <linyunsheng at huawei.com>
> ---
> drivers/vhost/net.c | 2 +-
> include/linux/page_frag_cache.h | 10 ++++++++++
> mm/page_frag_test.c | 2 +-
> net/core/skbuff.c | 6 +++---
> net/rxrpc/conn_object.c | 4 +---
> net/rxrpc/local_object.c | 4 +---
> net/sunrpc/svcsock.c | 6 ++----
> 7 files changed, 19 insertions(+), 15 deletions(-)
>
Looks fine to me.
Reviewed-by: Alexander Duyck <alexanderduyck at fb.com>
More information about the linux-afs
mailing list