Re: alloc_bootmem - Kernel panic

2007-02-07 Thread Asgard
On 2/7/07, Martyn Welch <[EMAIL PROTECTED]> wrote: Which leads me to the question: what is the best method to reserve a large (~4MB) coherent buffer for DMA transfers? May be you should to use alloc_pages with __GFP_DMA flag, and then use page_address to get address of first allocated page.

RE: alloc_bootmem - Kernel panic

2007-02-07 Thread Martyn Welch
Hi Asgard, Thank you for your reply. > I don't sure, that linux performs to allocate bootmem after kernel already > booted. > As I know, bootmem allocator "destroyed" when kernel initializes buddy > allocator. > Indeed you can look at arch/i385/mm/init.c, mem_init routine. > kernel pass