Re: [PATCH 3/4] HWPOISON: Report correct address granuality for AOhuge page errors

From: Andi Kleen
Date: Thu Oct 07 2010 - 04:58:40 EST


> > 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/