git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRED: Fix a race in creds_are_invalid() in credentials debugging
[safe/jmp/linux-2.6]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index
4799c5f
..
44b0791
100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-1052,6
+1052,9
@@
static struct task_struct *copy_process(unsigned long clone_flags,
p->prev_utime = cputime_zero;
p->prev_stime = cputime_zero;
#endif
+#if defined(SPLIT_RSS_COUNTING)
+ memset(&p->rss_stat, 0, sizeof(p->rss_stat));
+#endif
p->default_timer_slack_ns = current->timer_slack_ns;