Re: [Xen-devel] [PATCH] extend_brk and fixes to users ofextend_brk (v1).

From: Jan Beulich
Date: Tue Jul 31 2012 - 12:41:08 EST


>>> On 31.07.12 at 18:15, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
> On Tue, Jul 31, 2012 at 08:49:21AM -0700, H. Peter Anvin wrote:
>> This means you're either abusing the brk allocator to do something
>> it is not meant to do... which may mean you can a failure in *other*
>> code, or you have a bug in your code that you haven't fixed.
>
> Its the latter - and of one of the patches in this patchset fixes that.

But then you also can't assume that fitting a 2Gb MMIO hole will
suffice; I have a machine here that I can configure to have a
3Gb hole, so I think you really need to be on the safe side and
allow to cover all the way up to 4Gb with the space you reserve.

Jan

--
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/