On 2022-02-06 11:32 p.m., Christoph Hellwig wrote: > Move the check for the actual pgmap types that need the free at refcount > one behavior into the out of line helper, and thus avoid the need to > pull memremap.h into mm.h. > > Signed-off-by: Christoph Hellwig <h...@lst.de> I've noticed mm/memcontrol.c uses is_device_private_page() and also needs a memremap.h include added to compile with my configuration. Logan
- [PATCH 4/8] mm: move free_devmap_managed_page to memrem... Christoph Hellwig
- Re: [PATCH 4/8] mm: move free_devmap_managed_page ... Dan Williams
- Re: [PATCH 4/8] mm: move free_devmap_managed_page ... Jason Gunthorpe
- Re: [PATCH 4/8] mm: move free_devmap_managed_page ... Chaitanya Kulkarni
- Re: [PATCH 4/8] mm: move free_devmap_managed_page ... Muchun Song
- [PATCH 5/8] mm: simplify freeing of devmap managed page... Christoph Hellwig
- Re: [PATCH 5/8] mm: simplify freeing of devmap man... Jason Gunthorpe
- Re: [PATCH 5/8] mm: simplify freeing of devmap man... Dan Williams
- Re: [PATCH 5/8] mm: simplify freeing of devmap man... Chaitanya Kulkarni
- [PATCH 6/8] mm: don't include <linux/memremap.h> ... Christoph Hellwig
- Re: [PATCH 6/8] mm: don't include <linux/memrem... Logan Gunthorpe
- Re: [PATCH 6/8] mm: don't include <linux/memrem... Jason Gunthorpe
- Re: [PATCH 6/8] mm: don't include <linux/memrem... Felix Kuehling
- Re: [PATCH 6/8] mm: don't include <linux/me... Christoph Hellwig
- Re: [PATCH 6/8] mm: don't include <linux/me... Christoph Hellwig
- Re: [PATCH 6/8] mm: don't include <linu... Alistair Popple
- Re: [PATCH 6/8] mm: don't include <... Christoph Hellwig
- Re: [PATCH 6/8] mm: don't include <linu... Felix Kuehling
- Re: [PATCH 6/8] mm: don't include <linux/memrem... Dan Williams
- Re: [PATCH 6/8] mm: don't include <linux/me... Dan Williams
- Re: [PATCH 6/8] mm: don't include <linu... Christoph Hellwig