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@xxxxxx> > --- > 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@xxxxxxxxxx> Jason