Re: [PATCH] mm/memory-failure: unecessary amount of unmapping

2021-04-19 Thread 堀口 直也
On Mon, Apr 19, 2021 at 06:28:21PM -0600, Jane Chu wrote: > It appears that unmap_mapping_range() actually takes a 'size' as its > third argument rather than a location, the current calling fashion > causes unecessary amount of unmapping to occur. > > Fixes: 6100e34b2526e ("mm, memory_failure: Tea

Re: [PATCH] mm/memory-failure: unecessary amount of unmapping

2021-04-19 Thread Dan Williams
On Mon, Apr 19, 2021 at 5:28 PM Jane Chu wrote: > > It appears that unmap_mapping_range() actually takes a 'size' as its > third argument rather than a location, Indeed. > the current calling fashion > causes unecessary amount of unmapping to occur. s/unecessary/unnecessary/ > > Fixes: 6100e34

[PATCH] mm/memory-failure: unecessary amount of unmapping

2021-04-19 Thread Jane Chu
It appears that unmap_mapping_range() actually takes a 'size' as its third argument rather than a location, the current calling fashion causes unecessary amount of unmapping to occur. Fixes: 6100e34b2526e ("mm, memory_failure: Teach memory_failure() about dev_pagemap pages") Signed-off-by: Jane C