]> bbs.cooldavid.org Git - net-next-2.6.git/commit
HWPOISON: Report correct address granuality for AO huge page errors
authorAndi Kleen <ak@linux.intel.com>
Mon, 27 Sep 2010 20:03:33 +0000 (22:03 +0200)
committerAndi Kleen <ak@linux.intel.com>
Thu, 7 Oct 2010 07:45:44 +0000 (09:45 +0200)
commit0d9ee6a2d4a6e92c49e6fa9469e5731d21ee203e
tree563ee93b63198db99f60fff24f98db3d9d12cc08
parenta337fdac7a5622d1e6547f4b476c14dfe5a2c892
HWPOISON: Report correct address granuality for AO huge page errors

The SIGBUS user space signalling is supposed to report the
address granuality of a corruption. Pass this information correctly
for huge pages by querying the hpage order.

Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/memory-failure.c