[PATCH net-next,v2] tcp: Set pingpong threshold via sysctl

2023-10-10 Thread Haiyang Zhang
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

RE: [PATCH net-next,v2] tcp: Set pingpong threshold via sysctl

2023-10-10 Thread Haiyang Zhang
> -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

RE: [PATCH net-next,v2] tcp: Set pingpong threshold via sysctl

2023-10-10 Thread Haiyang Zhang
> -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

RE: [PATCH net-next,v2] tcp: Set pingpong threshold via sysctl

2023-10-10 Thread Haiyang Zhang
> -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

RE: [PATCH net-next,v2] tcp: Set pingpong threshold via sysctl

2023-10-11 Thread Haiyang Zhang
> -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

[PATCH net-next,v3] tcp: Set pingpong threshold via sysctl

2023-10-11 Thread Haiyang Zhang
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

[PATCH 1/2] mm: page_frag: Check fragsz at the beginning of __page_frag_alloc_align()

2025-04-05 Thread Haiyang Zhang
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 +-

RE: [EXTERNAL] Re: [PATCH 1/2] mm: page_frag: Check fragsz at the beginning of __page_frag_alloc_align()

2025-04-16 Thread Haiyang Zhang
> -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

RE: [PATCH 0/2] mm: Explicitly check & doc fragsz limit

2025-04-15 Thread Haiyang Zhang
> -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 ;

[PATCH 2/2] docs/mm: Specify page frag size is not bigger than PAGE_SIZE

2025-04-03 Thread 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.

[PATCH 0/2] mm: Explicitly check & doc fragsz limit

2025-04-03 Thread Haiyang Zhang
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