Skip to content

Commit 0b6ec8c

Browse files
borntraegerKAGA-KOKO
authored andcommitted
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 <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 92e963f commit 0b6ec8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/debugobjects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define ODEBUG_HASH_BITS 14
2222
#define ODEBUG_HASH_SIZE (1 << ODEBUG_HASH_BITS)
2323

24-
#define ODEBUG_POOL_SIZE 512
24+
#define ODEBUG_POOL_SIZE 1024
2525
#define ODEBUG_POOL_MIN_LEVEL 256
2626

2727
#define ODEBUG_CHUNK_SHIFT PAGE_SHIFT

0 commit comments

Comments
 (0)