diff options
author | Michal Hocko | 2016-06-24 14:48:58 -0700 |
---|---|---|
committer | Linus Torvalds | 2016-06-24 17:23:52 -0700 |
commit | 54d87d600adbe9889bccaff38420cec02250993b (patch) | |
tree | 0a0b369ef8c4969ac6932e8f80100c0d5fcf9c0b /arch/powerpc | |
parent | f3610a6aff7dd70b788364255c0cbc128488ef72 (diff) |
arc: 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.
pte_alloc_one_kernel uses __get_order_pte but this is obviously always
zero because BITS_FOR_PTE is not larger than 9 yet the page size is
always larger than 4K. 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-7-git-send-email-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions