[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <21d6b420-c8df-4a48-8b47-ef06135a4d1b@redhat.com>
Date: Fri, 11 Jul 2025 12:51:25 +0200
From: David Hildenbrand <david@...hat.com>
To: "Vishal Moola (Oracle)" <vishal.moola@...il.com>, linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org,
"Matthew Wilcox (Oracle)" <willy@...radead.org>,
Jordan Rome <linux@...danrome.com>, Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 3/3] mm: Remove unmap_and_put_page()
On 09.07.25 21:40, Vishal Moola (Oracle) wrote:
> There are no callers of unmap_and_put_page() left. Remove it.
>
> Signed-off-by: Vishal Moola (Oracle) <vishal.moola@...il.com>
> ---
> include/linux/highmem.h | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/include/linux/highmem.h b/include/linux/highmem.h
> index a30526cc53a7..6234f316468c 100644
> --- a/include/linux/highmem.h
> +++ b/include/linux/highmem.h
> @@ -682,10 +682,4 @@ static inline void folio_release_kmap(struct folio *folio, void *addr)
> kunmap_local(addr);
> folio_put(folio);
> }
> -
> -static inline void unmap_and_put_page(struct page *page, void *addr)
> -{
> - folio_release_kmap(page_folio(page), addr);
> -}
> -
> #endif /* _LINUX_HIGHMEM_H */
Acked-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists