Re: [PATCH bpf-next v6 4/4] selftests/bpf: Add a test for arena fault-in under memory.max

From: Kumar Kartikeya Dwivedi

Date: Tue Aug 25 2026 - 08:23:29 EST


On Tue Aug 25, 2026 at 1:19 PM CEST, Jiayuan Chen wrote:
>
> On 8/25/26 6:43 PM, Khawar Ahemad wrote:
>> Addressing the three CI review comments on the v6 series:
>>
>> ---
>> [Patch 4/4] max_entries comment
>> ---
>>
>>> could the 50000 carry a short note that it just has to outrun
>>> ARENA_BUDGET on the smallest page size
>> Accepted. Will be fixed in v7 as a proper preceding block comment:
>>
>> /*
>> * 50000 pages must exceed ARENA_BUDGET / PAGE_SIZE (64M / 4k = 16384)
>> * so the fault loop hits memory.max before exhausting the arena itself.
>> */
>> __uint(max_entries, 50000);
>
>
> Not that simple.
>
> It also make sure the arean not exceed 4G when page size is 64K.
>
>
> ---
>
> Please don't submit further versions of this patchset. I have already
> prepared a
>
> V6 (the one you sent), and I'm planning to send it myself. Additional
> submissions
>
> from you would create unnecessary conflicts and confusion.
>
>
> If you're interested in this series, I'd really appreciate your review
> and feedback instead.

Khawar, it's not acceptable to take someone else's patchset, and then spam the
list multiple times without their permission. If you continue doing this we will
have no choice but to redirect all your emails to spam.

>
> I'll also be sure to cc you on future versions.
>

I think that is unnecessary, I don't think Khawar is providing any meaningful
input for this.