Re: [RFC PATCH] mm: use precise current RSS for high-water accounting
From: Nirmoy Das
Date: Thu Jul 23 2026 - 13:16:56 EST
Hi Mathieu,
On 2026-07-23 12:31, Mathieu Desnoyers wrote:
> What is this test validating ? Does it actually matter for a real-life
> use-case, or is it just the test being too strict ?
It tests getrusage(RUSAGE_CHILDREN).ru_maxrss:
https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/getrusage/getrusage03.c
I am not sure about a real-world use-case; I do not have one.
> What is the overhead impact of your change from approximated counter
> read to a precise sum on this /proc ABI ?
I have not benchmarked the overhead yet. I will get back on this.
Thanks,
Nirmoy