Messages in this thread | | | Subject | Re: [PATCH 3/5] mm: Drop first_index/last_index in zap_details | From | David Hildenbrand <> | Date | Thu, 2 Sep 2021 09:22:07 +0200 |
| |
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 <david@redhat.com>
-- Thanks,
David / dhildenb
| |