]> git.hungrycats.org Git - linux/commit
[PATCH] fix text reporting in O(1) proc_pid_statm()
authorWilliam Lee Irwin III <wli@holomorphy.com>
Fri, 27 Aug 2004 03:36:27 +0000 (20:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 27 Aug 2004 03:36:27 +0000 (20:36 -0700)
commit9683ede17eb15e7477659031b5eba076dccaf451
treef6d526f5f876bcc46fa808877a22d39f7e27e795
parent6ac0a8d7d5033027e0ae999525d11750ee4337ca
[PATCH] fix text reporting in O(1) proc_pid_statm()

Some kind of brainfart happened here, though it's not visible on the
default display from top(1) etc.  This patch fixes up the gibberish I
mistakenly put down for text with the proper text size, and subtracts it
from data as per the O(vmas) code beforehand.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/task_mmu.c