From: Nitin Gupta <nitin.m.gu...@oracle.com> Date: Thu, 22 Jun 2017 17:15:08 -0700
> The function assumes that each PMD points to head of a > huge page. This is not correct as a PMD can point to > start of any 8M region with a, say 256M, hugepage. The > fix ensures that it points to the correct head of any PMD > huge page. > > Cc: Julian Calaby <julian.cal...@gmail.com> > Signed-off-by: Nitin Gupta <nitin.m.gu...@oracle.com> > --- > Changes since v1 > - Clarify use of 'head' variable (Julian Calaby) Applied and queued up for -stable, thanks.