On Wed, Jul 08, 2020 at 09:24:53AM +0800, Wei Yang wrote:
> The purpose of this code is to calculate the smaller extent in old and
> new range. Let's leverage pmd_addr_end() to do the calculation.
>
> Hope this would make the code easier to read.
>
> Signed-off-by: Wei Yang
> ---
> mm/mremap.c
The purpose of this code is to calculate the smaller extent in old and
new range. Let's leverage pmd_addr_end() to do the calculation.
Hope this would make the code easier to read.
Signed-off-by: Wei Yang
---
mm/mremap.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
di
2 matches
Mail list logo