Messages in this thread | | | Date | Fri, 4 Jan 2013 11:57:28 -0800 | Subject | Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it | From | Yinghai Lu <> |
| |
On Fri, Jan 4, 2013 at 8:05 AM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> 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.
| |