RE: PATCH: Further aacraid work

From: James Bottomley
Date: Thu Jun 17 2004 - 10:02:48 EST


On Thu, 2004-06-17 at 09:39, Salyzyn, Mark wrote:
> This would not be such an issue if Linux provided large SG elements
> rather than the fubar descending page order ones they issue today. If
> this could be fixed, I'd not even be interested in the optimization of
> the SG.

This is hardly a big problem, is it? it only occurs during the first
few moments of system operation. After that, the pages assigned to a
virtual region are pretty much random.

Fundamentally, sg lists have to operate at the level of the MMU, so
we're stuck with the page size, which is 4k on x86. There's nothing we
can do in SCSI about this.

Of course, if you're on a platform with an IOMMU then this problem
simply doesn't exist and we can coalesce nicely.

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/