History

mm: move free_devmap_managed_page to memremap.c

free_devmap_managed_page has nothing to do with the code in swap.c, move it to live with the rest of the code for devmap handling. Link: https://lkml.kernel.org/r/20220210072828.2930359-5-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Tested-by: "Sierra Guiza, Alejandro (Alex)" <alex.sierra@amd.com>

Christoph Hellwig committed 4 years ago

Commit 75e55d81 parent 730ff523 files · +21 −24Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/mm.h+0−1
@@ -1092,7 +1092,6 @@ static inline bool is_zone_movable_page(const struct page *page) · 1091 unmodified lines
1092}1092}
1093 1093
1094#ifdef CONFIG_DEV_PAGEMAP_OPS1094#ifdef CONFIG_DEV_PAGEMAP_OPS
1095void free_devmap_managed_page(struct page *page);
1096DECLARE_STATIC_KEY_FALSE(devmap_managed_key);1095DECLARE_STATIC_KEY_FALSE(devmap_managed_key);
1097 1096
1098static inline bool page_is_devmap_managed(struct page *page)1097static inline bool page_is_devmap_managed(struct page *page)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t