]> git.baikalelectronics.ru Git - kernel.git/commit
arm: get rid of superfluous __GFP_REPEAT
authorMichal Hocko <mhocko@suse.com>
Tue, 26 Jul 2016 22:20:59 +0000 (15:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commitab82f0527445469714a277f46a05df5cd899222d
treeeba11273808c68d2edf175e87238d4cebcbb96dd
parent19672c689d9bbd9f440be1f728037c2d4a4fdb43
arm: get rid of superfluous __GFP_REPEAT

__GFP_REPEAT has a rather weak semantic but since it has been introduced
around 2.6.12 it has been ignored for low order allocations.

PGALLOC_GFP uses __GFP_REPEAT but none of the allocation which uses this
flag is for more than order-2.  This means that this flag has never been
actually useful here because it has always been used only for
PAGE_ALLOC_COSTLY requests.

Link: http://lkml.kernel.org/r/1464599699-30131-5-git-send-email-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/include/asm/pgalloc.h
arch/arm/mm/pgd.c