From: David Rientjes Date: Wed, 6 Aug 2014 23:06:28 +0000 (-0700) Subject: mm, vmalloc: constify allocation mask X-Git-Tag: cleanup-for-v3.18~96^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=930f036b4ff6501b91e09bba4bf94423203dabd9;p=pandora-kernel.git mm, vmalloc: constify allocation mask tmp_mask in the __vmalloc_area_node() iteration never changes so it can be moved into function scope and marked with const. This causes the movl and orl to only be done once per call rather than area->nr_pages times. nested_gfp can also be marked const. Signed-off-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed