lkml.org 
[lkml]   [2007]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/8] Create ZONE_MOVABLE to partition memory between movable and non-movable pages
On Mon, Jan 29, 2007 at 02:45:06PM -0800, Christoph Lameter wrote:
> On Mon, 29 Jan 2007, Andrew Morton wrote:
>
> > > All 64 bit machine will only have a single zone if we have such a range
> > > alloc mechanism. The 32bit ones with HIGHMEM wont be able to avoid it,
> > > true. But all arches that do not need gymnastics to access their memory
> > > will be able run with a single zone.
> >
> > What is "such a range alloc mechanism"?
>
> As I mentioned above: A function that allows an allocation to specify
> which physical memory ranges are permitted.
>
> > So please stop telling me what a wonderful world it is to not have multiple
> > zones. It just isn't going to happen for a long long time. The
> > multiple-zone kernel is the case we need to care about most by a very large
> > margin indeed. Single-zone is an infinitesimal corner-case.
>
> We can still reduce the number of zones for those that require highmem to
> two which may allows us to avoid ZONE_DMA/DMA32 issues and allow dma
> devices to avoid bunce buffers that can do I/O to memory ranges not
> compatible with the current boundaries of DMA/DMA32. And I am also
> repeating myself.

This sounds like it could help ARM where we have some weird DMA areas.

What will help even more is if the block layer can also be persuaded that
a device dma mask is precisely that - a mask - and not a set of leading
ones followed by a set of zeros, then we could eliminate the really ugly
dmabounce code.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
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/

\
 
 \ /
  Last update: 2007-01-29 23:53    [W:0.069 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site