Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of memset forGART

From: Ingo Molnar
Date: Sat Sep 27 2008 - 14:15:09 EST



* Joerg Roedel <joerg.roedel@xxxxxxx> wrote:

> > > - if (iommu_leak_tab)
> > > - memset(iommu_leak_tab, 0, iommu_pages * 8);
> > > else
> > > printk(KERN_DEBUG
> > > "PCI-DMA: Cannot allocate leak trace area\n");
> >
> > hm, that looks broken.
>
> Argh, yes. Please try this one:

applied these patches to tip/x86/iommu:

0114267: x86/iommu: use __GFP_ZERO instead of memset for GART
3610f21: x86/iommu: convert GART need_flush to bool
237a622: x86/iommu: make GART driver checkpatch clean

thanks Joerg!

Fujita, do they look fine to you too?

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