use clear_page()/copy_page() in favor of memset()/memcpy() on whole pages
authorJan Beulich <JBeulich@novell.com>
Tue, 26 Oct 2010 21:22:27 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:13 +0000 (16:52 -0700)
commit3ecb01df3261d3b1f02ccfcf8384e2a255d2a1d0
tree1fe91114d8829a511db48d757c787cfede3b929c
parentb6472776816af1ed52848c93d26e3edb3b17adab
use clear_page()/copy_page() in favor of memset()/memcpy() on whole pages

After all that's what they are intended for.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dev.c
kernel/kexec.c
kernel/power/snapshot.c
kernel/power/swap.c
mm/memory.c