The patch titled Subject: mm: remove page_is_poisoned() from linux/mm.h has been added to the -mm tree. Its filename is mm-clean-up-page_is_poisoned-in-linux-mmh.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-clean-up-page_is_poisoned-in-linux-mmh.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-clean-up-page_is_poisoned-in-linux-mmh.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Sahara <keun-o.park@xxxxxxxxxxxxx> Subject: mm: remove page_is_poisoned() from linux/mm.h When bd33ef368135("mm: enable page poisoning early at boot") got rid of the PAGE_EXT_DEBUG_POISON, page_is_poisoned in the header left behind. This patch cleans up the leftovers under the table. Link: http://lkml.kernel.org/r/1528101069-21637-1-git-send-email-kpark3469@xxxxxxxxx Signed-off-by: Sahara <keun-o.park@xxxxxxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mm.h | 2 -- 1 file changed, 2 deletions(-) diff -puN include/linux/mm.h~mm-clean-up-page_is_poisoned-in-linux-mmh include/linux/mm.h --- a/include/linux/mm.h~mm-clean-up-page_is_poisoned-in-linux-mmh +++ a/include/linux/mm.h @@ -2523,12 +2523,10 @@ extern int apply_to_page_range(struct mm #ifdef CONFIG_PAGE_POISONING extern bool page_poisoning_enabled(void); extern void kernel_poison_pages(struct page *page, int numpages, int enable); -extern bool page_is_poisoned(struct page *page); #else static inline bool page_poisoning_enabled(void) { return false; } static inline void kernel_poison_pages(struct page *page, int numpages, int enable) { } -static inline bool page_is_poisoned(struct page *page) { return false; } #endif #ifdef CONFIG_DEBUG_PAGEALLOC _ Patches currently in -mm which might be from keun-o.park@xxxxxxxxxxxxx are mm-clean-up-page_is_poisoned-in-linux-mmh.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html