Hi, On Tue, Jun 04, 2019 at 09:21:34PM +0200, Rolf Eike Beer wrote: > Sven Schnelle wrote: > > + while (len >= 4) { > > + *p++ = *insn++; > > + addr += sizeof(u32); > > + len -= sizeof(u32); > > + if (len && !((unsigned long)addr & ~PAGE_MASK)) { > > if (len && offset_in_page(addr) == 0) > > This is a bit more obvious to me. YMMV. It is. I'll update the patch and send a v3. Thanks! Sven