]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ksm: remove redundant __GFP_ZERO from kcalloc
authorJoe Perches <joe@perches.com>
Tue, 12 Nov 2013 23:07:10 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:02 +0000 (12:09 +0900)
commitbafe1e14403ad40714ffcfa1fb173b371cc87a1f
tree89f77e87cb2f8161f909aae650293bbddc2040e7
parent63d0f0a3c7e1281fd79268a8d988167eff607fb6
ksm: remove redundant __GFP_ZERO from kcalloc

kcalloc returns zeroed memory.  There's no need to use this flag.

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c