On Wed, 20 Jul 2022, Zach O'Keefe wrote: > Only compute hstart/hend once we've passed all checks that would > cause early return in madvise_collapse(). > > Fixes: c9d968ffd9ba ("mm/madvise: introduce MADV_COLLAPSE sync hugepage collapse") > Signed-off-by: Zach O'Keefe <zokeefe@xxxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>