Re: [RFC PATCH 04/15] lib/scatterlist: Add flag for indicating P2PDMA segments in an SGL

From: Christoph Hellwig
Date: Mon Nov 09 2020 - 04:13:03 EST


On Fri, Nov 06, 2020 at 10:00:25AM -0700, Logan Gunthorpe wrote:
> We make use of the top bit of the dma_length to indicate a P2PDMA
> segment.

I don't think "we" can. There is nothing limiting the size of a SGL
segment.