Hi,
I found this counter wrap while working on NFQUEUE reservations.
My KUnit test starts the task's deferred page count near UINT_MAX. With
the old code, the next charge can wrap the count to zero. With this
patch, the count stays at UINT_MAX so the pending work is still visible.
I haven't found a workload on an unmodified kernel that reaches that
boundary before the task handles the debt. Would you be interested in
a standalone memcg patch, or would you want an example of such a
workload first?
Thanks,
Alireza
Re: [PATCH RFC nf-next 1/9] memcg: saturate deferred memory.high page debt
- From
- alir…@asgari.net (Alireza Asgari)
- Organization
- Usenet Network
- Message-ID
- <1a23…@asgari.net>
- Date
- Newsgroups
- linux.kernel.netdev