> > I used compound_order(compound_head(page)) + PAGE_SHIFT now. > > This even works for non compound, so the special case check > > can be dropped. > > OK. BTW it would be nice if mce-test checked this for the huge page case too. (I fixed this for small pages) -Andi -- ak@xxxxxxxxxxxxxxx -- Speaking for myself only. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>