Re: [PATCH v4] kernel/resource: Fix locking in request_free_mem_region

From: Alistair Popple
Date: Mon Apr 19 2021 - 03:09:26 EST


On Friday, 16 April 2021 2:19:18 PM AEST Dan Williams wrote:
> The revoke_iomem() change seems like something that should be moved
> into a leaf helper and not called by __request_free_mem_region()
> directly.

Ok. I have split this up but left the call to revoke_iomem() in
__request_free_mem_region(). Perhaps I am missing something but I wasn't sure
how moving it into a helper would be any better/different as it has to be
called after dropping the lock.

- Alistair