summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2016-01-27 15:37:58 +0100
committerThomas Gleixner <tglx@linutronix.de>2016-01-27 15:40:59 +0100
commit0b6ec8c0a3708f0a54b75ee1200772ec5226ec49 (patch)
treee0089a4d01524ac5e10b3eb4c0628649c18ef0d1 /lib
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-0b6ec8c0a3708f0a54b75ee1200772ec5226ec49.tar.bz2
debugobjects: Allow bigger number of early boot objects
On my bigger s390 systems I always get "Out of memory. ODEBUG disabled". Since the number of objects is needed at compile time, we can not change the size dynamically before the caches etc are available. Doubling the size seems to do the trick. Since it is init data it will be freed anyway, this should be ok. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Link: http://lkml.kernel.org/r/1453905478-13409-1-git-send-email-borntraeger@de.ibm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/debugobjects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index 547f7f923dbc..519b5a10fd70 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -21,7 +21,7 @@
#define ODEBUG_HASH_BITS 14
#define ODEBUG_HASH_SIZE (1 << ODEBUG_HASH_BITS)
-#define ODEBUG_POOL_SIZE 512
+#define ODEBUG_POOL_SIZE 1024
#define ODEBUG_POOL_MIN_LEVEL 256
#define ODEBUG_CHUNK_SHIFT PAGE_SHIFT