On Tue, May 31, 2022 at 12:11:34PM -0700, Keith Busch wrote: > From: Keith Busch <kbusch@xxxxxxxxxx> > > The existing iov_iter_alignment() function returns the logical OR of > address and length. For cases where address and length need to be > considered separately, introduce a helper function that a caller can > specificy length and address masks that indicate if the iov is > unaligned. Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>