[RESEND PATCH v4 1/5] ioremap: Rework pXd_free_pYd_page() API

2018-12-06 Thread Will Deacon
The recently merged API for ensuring break-before-make on page-table entries when installing huge mappings in the vmalloc/ioremap region is fairly counter-intuitive, resulting in the arch freeing functions (e.g. pmd_free_pte_page()) being called even on entries that aren't present. This resulted in

[PATCH v4 1/5] ioremap: Rework pXd_free_pYd_page() API

2018-11-26 Thread Will Deacon
The recently merged API for ensuring break-before-make on page-table entries when installing huge mappings in the vmalloc/ioremap region is fairly counter-intuitive, resulting in the arch freeing functions (e.g. pmd_free_pte_page()) being called even on entries that aren't present. This resulted in