Re: [PATCH] mm: memcg: stop reclaim when a limit update is superseded

From: Guopeng Zhang

Date: Wed Jul 29 2026 - 21:51:46 EST




在 2026/7/29 16:02, Michal Hocko 写道:
> On Wed 29-07-26 14:15:25, Guopeng Zhang wrote:
>>
>>
>> 在 2026/7/27 21:58, Michal Hocko 写道:
>>> On Mon 27-07-26 20:59:23, Guopeng Zhang wrote:
>>>>
>>>>
>>>> 在 2026/7/27 16:16, Michal Hocko 写道:
>>>>> On Fri 24-07-26 10:18:05, Guopeng Zhang wrote:
> [...]
>>> Is this trying to replicate any real workload? One would expect that
>>> writers to limit do some sort of coordination otherwise the exact
>>> behavior is not really well defined.
>>>
>>
>> No, this was not motivated by a reported production workload. We found
>> it through automated randomized testing for our cgroup observability
>> work and reduced it to the reproducer above.
>
> This is an important detail to be mentioned in the changelog. Describing
> motivation for a change is really important, especially if it has direct
> impact in user interface behavior.

Thanks for the guidance. I will take the feedback from this patch into
account when preparing similar changes in the future.