Re: [PATCH] ipc/shm.c: add RSS and swap size information to /proc/sysvipc/shm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hugh Dickins
Date: Thursday, August 12, 2010 - 3:40 pm

On Thu, 12 Aug 2010, Helge Deller wrote:

That's good justification, thanks.


I certainly wouldn't call smaps's present behaviour on it a bug: but given
your justification above, I can see that it would be more useful to you,
and probably to others, for it to be changed in the way that you suggest,
to reveal the underlying swap.

Hmm, I wonder what that patch is going to look like...


I hope so too.  And agree you're right to correct the 64-bit header
alignment, and to show the new fields in bytes rather than pages.
But one little thing in your patch upsets me greatly...


... why oh why do you write "RSS" in uppercase, when every other field
is named in lowercase?  Please change that to "rss" and then

Acked-by: Hugh Dickins <hughd@google.com>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] ipc/shm.c: add RSS and swap size information t ..., Hugh Dickins, (Thu Aug 12, 3:40 pm)