[PATCH 5/8] mm: simplify freeing of devmap managed pages
Jason Gunthorpe
jgg at ziepe.ca
Mon Feb 7 19:34:56 UTC 2022
On Mon, Feb 07, 2022 at 07:32:46AM +0100, Christoph Hellwig wrote:
> Make put_devmap_managed_page return if it took charge of the page
> or not and remove the separate page_is_devmap_managed helper.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> include/linux/mm.h | 34 ++++++++++------------------------
> mm/memremap.c | 20 +++++++++-----------
> mm/swap.c | 10 +---------
> 3 files changed, 20 insertions(+), 44 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the amd-gfx
mailing list