]> git.hungrycats.org Git - linux/commit
[PATCH] rmap 27 memset 0 vma
authorAndrew Morton <akpm@osdl.org>
Sat, 22 May 2004 15:08:00 +0000 (08:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 22 May 2004 15:08:00 +0000 (08:08 -0700)
commitc8ba206502dbf94b5ba984150d936a860cc8f339
tree23aad74edb4a7cc7e2ebe35e512f5dee6b133dac
parentee7baa35264d9cb6bbf01491f3757c3312fb2376
[PATCH] rmap 27 memset 0 vma

From: Hugh Dickins <hugh@veritas.com>

We're NULLifying more and more fields when initializing a vma
(mpol_set_vma_default does that too, if configured to do anything).  Now use
memset to avoid specifying fields, and save a little code too.

(Yes, I realize anon_vma will want to set vm_pgoff non-0, but I think that
will be better handled at the core, since anon vm_pgoff is negotiable up until
an anon_vma is actually assigned.)
arch/ia64/ia32/binfmt_elf32.c
arch/ia64/kernel/perfmon.c
arch/ia64/mm/init.c
fs/exec.c
mm/mmap.c