Re: [patch] 32-bit dma memory zone

Jens Axboe (axboe@suse.de)
Fri, 8 Jun 2001 13:19:36 +0200


On Thu, Jun 07 2001, Linus Torvalds wrote:
>
> On Thu, 7 Jun 2001, Jens Axboe wrote:
> >
> > I'd like to push this patch from the block highmem patch set, to prune
> > it down and make it easier to include it later on :-)
> >
> > This patch implements a new memory zone, ZONE_DMA32. It holds highmem
> > pages that are below 4GB, as we can do I/O on those directly. Also if we
> > do need to bounce a > 4GB page, we can use pages from this zone and not
> > always resort to < 960MB pages.
>
> Patrick Mochel has another patch that adds another zone on x86: the "low
> memory" zone for the 0-1MB area, which is special for some things, notably
> real mode bootstrapping (ie the SMP stuff could use it instead of the
> current special-case allocations, and Pat needs it for allocating low
> memory pags for suspend/resumt).
>
> I'd like to see what these two look like together.

Not a problem, would be easy to add 'one more zone'.

> But even more I'd like to see a more dynamic zone setup: we already have

[snip]

Sure this looks pretty sane. Is this really what you want for 2.4? How
about just adding the DMA32 and 1M zone right now, and postpone the
bigger zone changes to 2.5. To be honest, I already started implementing
your specified interface -- most of the changes aren't too bad, but
still...

-- 
Jens Axboe

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