Re: [patch] bootmem bitmap always considered dma memory

Linus Torvalds (torvalds@transmeta.com)
Thu, 9 Dec 1999 13:31:03 -0800 (PST)


On Thu, 9 Dec 1999, Ingo Molnar wrote:

>
> On Thu, 9 Dec 1999, Andrea Arcangeli wrote:
>
> > + if (((unsigned long) bdata->node_bootmem_map >> PAGE_SHIFT)
> > + + i >= MAX_DMA_ADDRESS >> PAGE_SHIFT)
> > + clear_bit(PG_DMA, &page->flags);
> > __free_page(page);
>
> thanks, subtle bug ...

Actually, I'd like to get rid of the PG_DMA flag now - it's encoded in the
page zone, and it's much better there. Somebody feel up to this?

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/