forked from luck/tmp_suning_uos_patched
404351e67a
How is anon_rss initialized? In dup_mmap, and by mm_alloc's memset; but that's not so good if an mm_counter_t is a special type. And how is rss initialized? By set_mm_counter, all over the place. Come on, we just need to initialize them both at once by set_mm_counter in mm_init (which follows the memcpy when forking). Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
fpu32.c | ||
ia32_aout.c | ||
ia32_binfmt.c | ||
ia32_ioctl.c | ||
ia32_signal.c | ||
ia32entry.S | ||
ipc32.c | ||
Makefile | ||
ptrace32.c | ||
sys_ia32.c | ||
syscall32_syscall.S | ||
syscall32.c | ||
tls32.c | ||
vsyscall-sigreturn.S | ||
vsyscall-syscall.S | ||
vsyscall-sysenter.S | ||
vsyscall.lds |