Re: [patch 0/2] Protect crashkernel against BSS overlap

From: Bernhard Walle
Date: Tue Oct 16 2007 - 12:27:07 EST


* Andi Kleen <andi@xxxxxxxxxxxxxx> [2007-10-16 11:59]:
> Vivek Goyal <vgoyal@xxxxxxxxxx> writes:
>
> > Wouldn't it be better if we reserve the code, data and bss memory also
> > using bootmem allocator and when somebody tries to reserve craskernel memory
> > and if there is an overlap, boot memory allocator should scream?
>
> Some x86 bootmem code right now relies on it not screaming (or at least not
> erroring out). That would need to be fixed first. Or you make it a flag.
> Would probably make sense, except that we already have too many bootmem
> allocation variants :/

Ok, I made a flag, see the next version of the patch.


Thanks,
Bernhard
-
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/