Commit 1fa64f19 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Linus Torvalds
Browse files

mm: drop PAGE_CACHE_* and page_cache_{get,release} definition

All users gone.  We can remove these macros.

Signed-off-by: default avatarKirill A. Shutemov <>
Acked-by: default avatarMichal Hocko <>
Signed-off-by: default avatarLinus Torvalds <>
parent ea1754a0
......@@ -86,21 +86,6 @@ static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask)
(__force unsigned long)mask;
* The page cache can be done in larger chunks than
* one page, because it allows for more efficient
* throughput (it can then be mapped into user
* space in smaller chunks for same flexibility).
* Or rather, it _will_ be done in larger chunks.
#define page_cache_get(page) get_page(page)
#define page_cache_release(page) put_page(page)
void release_pages(struct page **pages, int nr, bool cold);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment