Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is notenough ram for it

From: Yinghai Lu
Date: Fri Jan 04 2013 - 14:57:17 EST


On Fri, Jan 4, 2013 at 8:05 AM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
>> +static bool __init enough_mem_for_swiotlb(void)
>> +{
>> + /* do we have less than 1M RAM under 4G ? */
>
> And why 1MB? The default size is 64MB.

because kdump scripts will use memmap=exact,.. to add range below 1M
to get realmode data.
--
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/