On 2018-11-06 at 22:16 Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > Yes, iter.gfn is the gfn inside the loop and iter.level is the level > (1=PTE, 2=PDE, ...). iter.level of course is unusable here, similar to > *levelp in transparent_hugepage_adjust, but you can use iter.gfn and > gfn_to_hva. Great, thanks!