summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWilliam Lee Irwin III <wli@holomorphy.com>2004-08-26 20:36:49 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-26 20:36:49 -0700
commit591e0fdbb3df665e5f7671858a94e6dfe2155d2b (patch)
tree75804a4b51f8df40950335f879f50f8baf5382f0 /include/linux
parent323d129f0446331f24302609dd0736c819f06bea (diff)
[PATCH] /proc/pid/statm accounting fixes
Account reserved memory properly as per acahalan's speecified semantics. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index dcbde5c93739..5a36441e2fd7 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -225,7 +225,7 @@ struct mm_struct {
unsigned long start_brk, brk, start_stack;
unsigned long arg_start, arg_end, env_start, env_end;
unsigned long rss, total_vm, locked_vm, shared_vm;
- unsigned long exec_vm, stack_vm, def_flags;
+ unsigned long exec_vm, stack_vm, reserved_vm, def_flags;
unsigned long saved_auxv[40]; /* for /proc/PID/auxv */