Skip to content

Commit

Permalink
debugobjects: Allow bigger number of early boot objects
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
borntraeger authored and KAGA-KOKO committed Jan 27, 2016
1 parent 92e963f commit 0b6ec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debugobjects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b6ec8c

Please sign in to comment.