Re: pci_map_sg() does not coalesce adjacent physical memory? x86

From: James Bottomley
Date: Tue Nov 18 2008 - 00:21:45 EST


On Mon, 2008-11-17 at 19:15 -0800, Andrew Morton wrote:
> (cc's added)
>
> On Mon, 17 Nov 2008 22:54:33 +0100 "Leon Woestenberg" <leon.woestenberg@xxxxxxxxx> wrote:
>
> > Hello,
> >
> > pci_map_sg() does not coalesce the scattergather list for me on x86.
>
> In which kernel version(s)?

Also which driver? Some manually disable physical merging, so they will
never coalesce adjacent pages.

You need the flag QUEUE_FLAG_CLUSTER set for physical merging to take
place.

James


--
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/