diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-07-14 06:50:11 +0200 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2018-07-23 19:38:05 +0200 |
commit | ae1139ece126b8eb6d0770094fbac43ea928d9d9 (patch) | |
tree | 9985e081de69db5a2e119969fabf0d1fe23d7215 /mm/highmem.c | |
parent | mm, madvise_inject_error: Let memory_failure() optionally take a page reference (diff) | |
download | linux-ae1139ece126b8eb6d0770094fbac43ea928d9d9.tar.xz linux-ae1139ece126b8eb6d0770094fbac43ea928d9d9.zip |
mm, memory_failure: Collect mapping size in collect_procs()
In preparation for supporting memory_failure() for dax mappings, teach
collect_procs() to also determine the mapping size. Unlike typical
mappings the dax mapping size is determined by walking page-table
entries rather than using the compound-page accounting for THP pages.
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions