diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-08-12 15:08:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-12 16:07:27 -0700 |
commit | 74768ed833344bb0f82b97cee46320a3d7f09ecd (patch) | |
tree | eee3404d1dd51eb184eab88e12dbc774dc693522 /mm | |
parent | 866c36637f79506b283a6872a7c313b5ef499985 (diff) | |
download | linux-3.10-74768ed833344bb0f82b97cee46320a3d7f09ecd.tar.gz linux-3.10-74768ed833344bb0f82b97cee46320a3d7f09ecd.tar.bz2 linux-3.10-74768ed833344bb0f82b97cee46320a3d7f09ecd.zip |
page allocator: use no-panic variant of alloc_bootmem() in alloc_large_system_hash()
.. since a failed allocation is being (initially) handled gracefully, and
panic()-ed upon failure explicitly in the function if retries with smaller
sizes failed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 401d104d2bb..af982f7cdb2 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4437,7 +4437,7 @@ void *__init alloc_large_system_hash(const char *tablename, do { size = bucketsize << log2qty; if (flags & HASH_EARLY) - table = alloc_bootmem(size); + table = alloc_bootmem_nopanic(size); else if (hashdist) table = __vmalloc(size, GFP_ATOMIC, PAGE_KERNEL); else { |