timal performance based on the application needs.
Signed-off-by: Haiyang Zhang
---
v2: Make it per-namesapce setting, and other updates suggested by Neal Cardwell,
and Kuniyuki Iwashima.
---
Documentation/networking/ip-sysctl.rst | 8
include/net/inet_connection_sock.h | 16
> -Original Message-
> From: Neal Cardwell
> Sent: Tuesday, October 10, 2023 4:07 PM
> To: Haiyang Zhang
> Cc: linux-hyp...@vger.kernel.org; net...@vger.kernel.org; KY Srinivasan
> ; da...@davemloft.net; eduma...@google.com;
> k...@kernel.org; pab...@redhat.com; c
> -Original Message-
> From: Kuniyuki Iwashima
> Sent: Tuesday, October 10, 2023 4:12 PM
> To: Haiyang Zhang
> Cc: cor...@lwn.net; da...@davemloft.net; dsah...@kernel.org;
> eduma...@google.com; k...@kernel.org; kun...@amazon.com; KY
> Srinivasan ; linux-doc@v
> -Original Message-
> From: Yuchung Cheng
> Sent: Tuesday, October 10, 2023 6:27 PM
> To: Stephen Hemminger
> Cc: Haiyang Zhang ; linux-hyp...@vger.kernel.org;
> net...@vger.kernel.org; KY Srinivasan ;
> da...@davemloft.net; eduma...@google.com; k...@kernel.org
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, October 10, 2023 10:16 PM
> To: Haiyang Zhang
> Cc: Yuchung Cheng ; linux-hyp...@vger.kernel.org;
> net...@vger.kernel.org; KY Srinivasan ;
> da...@davemloft.net; eduma...@google.com; k...@kernel.org
timal performance based on the application needs.
Signed-off-by: Haiyang Zhang
---
v3: Updated doc as suggested by Neal Cardwell.
Updated variable location in struct netns_ipv4 as suggested by Kuniyuki
Iwashima.
v2: Make it per-namesapce setting, and other updates suggested by Neal C
Frag allocator is not designed for fragsz > PAGE_SIZE. So, check and return
the error at the beginning of __page_frag_alloc_align(), instead of
succeed for a few times, then fail due to not refilling the cache.
Signed-off-by: Haiyang Zhang
---
mm/page_frag_cache.c | 22 +-
> -Original Message-
> From: Yunsheng Lin
> Sent: Wednesday, April 16, 2025 3:38 AM
> To: Haiyang Zhang ; linux-hyp...@vger.kernel.org;
> a...@linux-foundation.org; cor...@lwn.net; linux...@kvack.org; linux-
> d...@vger.kernel.org
> Cc: Dexuan Cui ; KY Srinivasan
> -Original Message-
> From: LKML haiyangz On Behalf Of Haiyang Zhang
> Sent: Thursday, April 3, 2025 5:22 PM
> To: linux-hyp...@vger.kernel.org; a...@linux-foundation.org;
> cor...@lwn.net; linux...@kvack.org; linux-doc@vger.kernel.org
> Cc: Haiyang Zhang ;
The page frag allocator is not designed for fragsz > PAGE_SIZE.
Specify this in the document.
Signed-off-by: Haiyang Zhang
---
Documentation/mm/page_frags.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/mm/page_frags.rst b/Documentation/mm/page_frags.
The page frag allocator is not designed for fragsz > PAGE_SIZE.
Explicitly check it in the function & document the fragsz limit.
Haiyang Zhang (2):
mm: page_frag: Check fragsz at the beginning of __page_frag_alloc_align()
docs/mm: Specify page frag size is not bigger than PA
11 matches
Mail list logo