Re: [PATCH] mm: fix boundary checking in free_bootmem_core

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Friday, March 14, 2008 - 9:44 am

On 14 Mar 2008 12:58:44 +0100, Andi Kleen <andi@firstfloor.org> wrote:

I don't think so.

anyway, otherway to workaround it is
change
                return __earlyonly_bootmem_alloc(node, size, size,
                                __pa(MAX_DMA_ADDRESS));
in vmemmap_alloc_block to
                return __earlyonly_bootmem_alloc(node, size, size,
                                __pa(MAX_DMA_ADDRESS + (1<<27)));
to make room for gart. but that is global change. and may affect other
platform. and don't make sure gart will get it.

also i assume swiotlb need that range is less than 4g.


still in bootmem stage? page->flags is ready at that time?

YH
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mm: fix boundary checking in free_bootmem_core, Yinghai Lu, (Fri Mar 14, 9:44 am)
Re: [PATCH] mm: fix boundary checking in free_bootmem_core, Andrew Morton, (Fri Mar 21, 12:44 pm)