]> git.hungrycats.org Git - linux/commit
[PATCH] use __GFP_REPEAT in pte_alloc_one()
authorAndrew Morton <akpm@digeo.com>
Sun, 20 Apr 2003 07:28:25 +0000 (00:28 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 20 Apr 2003 07:28:25 +0000 (00:28 -0700)
commit68b5a30ff3f3bd193ab1c824b7dc9ed464988a41
tree557c58b136f9ac042990414300089ecbf552cac7
parent8db50e8b5efcdb7665443f750aef592871761978
[PATCH] use __GFP_REPEAT in pte_alloc_one()

Remove all the open-coded retry loops in various architectures, use
__GFP_REPEAT.

It could be that at some time in the future we change __GFP_REPEAT to give up
after ten seconds or so, so all the checks for failed allocations are
retained.
17 files changed:
arch/alpha/mm/init.c
arch/i386/mm/pgtable.c
arch/ppc/mm/pgtable.c
arch/sparc/mm/sun4c.c
arch/um/kernel/mem.c
include/asm-arm/proc-armv/pgalloc.h
include/asm-cris/pgalloc.h
include/asm-ia64/pgalloc.h
include/asm-m68k/motorola_pgalloc.h
include/asm-m68k/sun3_pgalloc.h
include/asm-mips/pgalloc.h
include/asm-mips64/pgalloc.h
include/asm-parisc/pgalloc.h
include/asm-ppc64/pgalloc.h
include/asm-s390/pgalloc.h
include/asm-sh/pgalloc.h
include/asm-x86_64/pgalloc.h