Thread (14 messages) 14 messages, 3 authors, 2021-09-02

Re: [PATCH 3/5] mm: Drop first_index/last_index in zap_details

From: David Hildenbrand <hidden>
Date: 2021-09-02 07:22:20
Also in: lkml

On 01.09.21 22:56, Peter Xu wrote:
The first_index/last_index parameters in zap_details are actually only used in
unmap_mapping_range_tree().  At the meantime, this function is only called by
unmap_mapping_pages() once.  Instead of passing these two variables through the
whole stack of page zapping code, remove them from zap_details and let them
simply be parameters of unmap_mapping_range_tree(), which is inlined.

Reviewed-by: Alistair Popple <apopple@nvidia.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
---
Looks good, thanks

Reviewed-by: David Hildenbrand <redacted>


-- 
Thanks,

David / dhildenb

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help