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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>