Re: [PATCH] shmem: skip empty unmap ranges when punching holes
From: Hungyu Lin
Date: Tue Nov 03 2026 - 14:40:32 EST
> Can this be >= ?
I think we should keep > here, since unmap_end + 1 is the exclusive
end. Equality would pass a zero length to unmap_mapping_range(),
which means unmap to EOF. For example, with offset = 0 and len = 1,
both sides are zero.
Thanks,
Hungyu