Re: [PATCH] man/man2/getrusage.2: clarify ru_maxrss unit as KiB
From: Alex Yang <hidden>
Date: 2025-08-18 08:19:28
From: Alex Yang <hidden>
Date: 2025-08-18 08:19:28
Yes, I think the related code is from getrusage in sys.c: https://github.com/torvalds/linux/blob/c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9/kernel/sys.c#L1911 This code shows that ru_maxrss is reported in units of 1024 bytes, which means it is in kibibytes (KiB), not kilobytes (KB).