]> git.baikalelectronics.ru Git - kernel.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)
commite54564df9f20f812d8a88213ccb949d31a3da46e
tree89f77e87cb2f8161f909aae650293bbddc2040e7
parent530468553a773087995da586ae44cb3442649522
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