On Wed, Jan 07, 2015 at 05:06:54PM +0000, Petr Cermak wrote: > Peak resident size of a process can be reset by writing "5" to > /proc/pid/clear_refs. The driving use-case for this would be getting the > peak RSS value, which can be retrieved from the VmHWM field in > /proc/pid/status, per benchmark iteration or test scenario.
And how it's not an ABI break? We have never-lowering VmHWM for 9+ years. How can you know that nobody expects this behaviour? And why do you reset hiwater_rss, but not hiwater_vm? -- Kirill A. Shutemov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/