Jane Chu 4d75136be8 mm/memory-failure: unnecessary amount of unmapping
It appears that unmap_mapping_range() actually takes a 'size' as its third
argument rather than a location, the current calling fashion causes
unnecessary amount of unmapping to occur.

Link: https://lkml.kernel.org/r/20210420002821.2749748-1-jane.chu@oracle.com
Fixes: 6100e34b2526e ("mm, memory_failure: Teach memory_failure() about dev_pagemap pages")
Signed-off-by: Jane Chu <jane.chu@oracle.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-04-30 11:20:44 -07:00
..
2021-02-26 09:41:00 -08:00
2021-02-24 13:38:27 -08:00
2021-04-30 11:20:37 -07:00
2021-04-30 11:20:37 -07:00
2021-04-30 11:20:36 -07:00
2020-12-15 12:13:47 -08:00
2021-04-30 11:20:39 -07:00
2021-03-02 17:25:46 -07:00
2021-04-16 16:10:37 -07:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:40:59 -08:00
2021-04-30 11:20:37 -07:00
2021-04-30 11:20:40 -07:00