On Tue, Dec 13, 2016 at 12:39 AM, Eric Biggers <[email protected]> wrote: > > Hmm, I don't think you can really do load_unaligned_zeropad() without first > checking for 'left != 0'.
Right you are. If the allocation is at the end of a page, the 0-size
case would be entirely outside the page and there's no fixup.
Of course, that never happens in normal code, but DEBUG_PAGE_ALLOC can
trigger it.
Linus

