Re: [PATCH] Deprecate /proc/#/statm
From: William Lee Irwin III <hidden>
Date: 2003-08-13 00:36:20
From: William Lee Irwin III <hidden>
Date: 2003-08-13 00:36:20
On Mon, 11 Aug 2003 15:16:46 -0700, William Lee Irwin III wrote:
quoted
Not entirely unreasonable.
On Tue, Aug 12, 2003 at 12:40:46PM +0200, Roger Luethi wrote:
Alright. We have established that /proc/#/statm has been useless at least since 2.4. Procps doesn't even bother reading it. I propose this very non-invasive patch for 2.6. It replaces all values printed in statm (all of which are either redundant or bogus) with 0s (for kblockd and others statm is a line of zeroes already). IMO the real surgery should happen in 2.7. Comments? Andrew?
Best to just delete the code instead of the #if 0 -- wli -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>