--- zzzz-none-000/linux-3.10.107/arch/sh/include/asm/pgalloc.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/sh/include/asm/pgalloc.h 2021-02-04 17:41:59.000000000 +0000 @@ -47,7 +47,10 @@ if (!pg) return NULL; page = virt_to_page(pg); - pgtable_page_ctor(page); + if (!pgtable_page_ctor(page)) { + quicklist_free(QUICK_PT, NULL, pg); + return NULL; + } return page; }