]> git.baikalelectronics.ru Git - kernel.git/commit
s390: get rid of superfluous __GFP_REPEAT
authorMichal Hocko <mhocko@suse.com>
Tue, 7 Mar 2017 15:48:40 +0000 (16:48 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Mar 2017 07:29:04 +0000 (08:29 +0100)
commit80f066a33453a59894dd07825ccedb4bf9c19e0b
tree0b748c0deb5d32d66f8c1b5de923df9bec7221db
parent7c1ea03999b920fc3ad34ac74c1e037cf0cfc4fa
s390: 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.

page_table_alloc then uses the flag for a single page allocation. This
means that this flag has never been actually useful here because it has
always been used only for PAGE_ALLOC_COSTLY requests.

An earlier attempt to remove the flag 79dbb5e4d6e9 ("s390: get rid of
superfluous __GFP_REPEAT") has missed this one but the situation is very
same here.

Signed-off-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/pgalloc.c