lkml.org 
[lkml]   [2015]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] task_mmu: Add user-space support for resetting mm->hiwater_rss (peak RSS)
On Thu, 15 Jan 2015, Kirill A. Shutemov wrote:

> I'm not sure if it should be considered ABI break or not. Just asking.
>
> I would like to hear opinion from other people.
>

I think the bigger concern would be that this, and any new line such as
resettable_hiwater_rss, invalidates itself entirely. Any process that
checks the hwm will not know of other processes that reset it, so the
value itself has no significance anymore. It would just be the mark since
the last clear at an unknown time. Userspace can monitor the rss of a
process by reading /proc/pid/stat, there's no need for the kernel to do
something that userspace can do.


\
 
 \ /
  Last update: 2015-01-22 00:21    [W:0.091 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site