On Thu, May 28, 2009 at 01:40:12AM +0800, Eric Anholt wrote: > On Wed, 2009-05-27 at 08:42 +0800, Shaohua Li wrote: > > On Wed, May 27, 2009 at 08:18:40AM +0800, Kyle McMartin wrote: > > > On Tue, May 26, 2009 at 11:55:50PM +0100, Hugh Dickins wrote: > > > > I'm confused: I thought GFP_DMA32 only applies on x86_64: > > > > my 32-bit PAE machine with (slightly!) > 4GB shows no ZONE_DMA32. > > > > Does this patch perhaps depend on another, to enable DMA32 on 32-bit > > > > PAE, or am I just in a muddle? > > > > > > > > > > No, you're exactly right, I'm just a muppet and missed the obvious. > > > Looks like the "correct" fix is the fact that the allocation is thus > > > filled out with GFP_USER, therefore, from ZONE_NORMAL, and below > > > max_low_pfn. > > > > > > Looks like we'll need some additional thinking to get true ZONE_DMA32 on > > > i386... ugh, I'll look into it tonight. > > For i386, GFP_USER is enough. But 945G GART can only map to physical page < > > 4G, > > so for x64, we need GFP_DMA32. This is the reason I add extra GFP_DMA32. > > Those 945Gs don't have memory located above 4G, from my reading of the > chipset specs. ok, then GFP_DMA32 can be removed from the patch.
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel