diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-07-14 07:50:11 +0300 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2018-07-23 20:38:05 +0300 |
commit | ae1139ece126b8eb6d0770094fbac43ea928d9d9 (patch) | |
tree | 9985e081de69db5a2e119969fabf0d1fe23d7215 /fs/dax.c | |
parent | 23e7b5c2e2715947cf1ff57124dd3e96caf48521 (diff) | |
download | linux-ae1139ece126b8eb6d0770094fbac43ea928d9d9.tar.xz |
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 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions