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