On Jun 30, 2022, at 12:21 PM, Peter Xu <peterx@xxxxxxxxxx> wrote: > ⚠ External Email > > On Tue, Jun 28, 2022 at 12:04:28AM +0000, Nadav Amit wrote: >>> [1] commit 824ddc601adc ("userfaultfd: provide unmasked address on page-fault") >> >> Indeed this change of behavior (not aligning to huge-pages when flags is >> not set) was unintentional. If you want to fix it in a separate patch so >> it would be backported, that may be a good idea. > > The fix seems to be straightforward, though. Nadav, wanna post a patch > yourself? Yes, even I can do it :) Just busy right now, so I’ll try to do it over the weekend.