diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2017-07-11 00:47:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-11 01:32:30 +0200 |
commit | 761ad8d7c7b5485bb66fd5bccb58a891fe784544 (patch) | |
tree | 280aa30b843d43886e0610c02ca13d2b7c7831eb /fs/hugetlbfs | |
parent | mm: soft-offline: dissolve free hugepage if soft-offlined (diff) | |
download | linux-761ad8d7c7b5485bb66fd5bccb58a891fe784544.tar.xz linux-761ad8d7c7b5485bb66fd5bccb58a891fe784544.zip |
mm: hwpoison: introduce memory_failure_hugetlb()
memory_failure() is a big function and hard to maintain. Handling
hugetlb- and non-hugetlb- case in a single function is not good, so this
patch separates PageHuge() branch into a new function, which saves many
PageHuge() check.
Link: http://lkml.kernel.org/r/1496305019-5493-7-git-send-email-n-horiguchi@ah.jp.nec.com
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions