Re: [PATCH] lockdep: increase static allocations

From: Sasha Levin
Date: Wed Jan 08 2014 - 15:11:44 EST


On 01/08/2014 02:51 PM, Andi Kleen wrote:
Sasha Levin <sasha.levin@xxxxxxxxxx> writes:

Fuzzing a recent kernel with a large configuration hits the static
allocation limits and disables lockdep.

Doesn't that use a lot more memory? I thought lockdep preallocates.

Doubling may be too aggressive.

The patch adds about 4MB of memory usage, I didn't think it's too much for something
that is only enabled during debugging.

If this is an issue, can I suggest making these values configurable in the .config
and just let users pick whatever they want?


Thanks,
Sasha

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/