mm/memory-failure.c: add page flag description in error paths
authorAnshuman Khandual <[email protected]>
Wed, 3 May 2017 21:55:31 +0000 (14:55 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 May 2017 22:52:11 +0000 (15:52 -0700)
commit82a2481e8e2832a19869a7e826e2e7b44420493e
tree2b91c56d310a77f493f067f582c9b89468b9e3ab
parent5e451be75ca51dd45a77a6409a30a0de39dc15c8
mm/memory-failure.c: add page flag description in error paths

It helps to provide page flag description along with the raw value in
error paths during soft offline process.  From sample experiments

Before the patch:

  soft offline: 0x6100: migration failed 1, type 3ffff800008018
  soft offline: 0x7400: migration failed 1, type 3ffff800008018

After the patch:

  soft offline: 0x5900: migration failed 1, type 3ffff800008018 (uptodate|dirty|head)
  soft offline: 0x6c00: migration failed 1, type 3ffff800008018 (uptodate|dirty|head)

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memory-failure.c