[PATCH v4 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-06-27 Thread Toshi Kani
ioremap() supports pmd mappings on x86-PAE. However, kernel's pmd tables are not shared among processes on x86-PAE. Therefore, any update to sync'd pmd entries need re-syncing. Freeing a pte page also leads to a vmalloc fault and hits the BUG_ON in vmalloc_sync_one(). Disable free page

[PATCH v4 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-06-27 Thread Toshi Kani
ioremap() supports pmd mappings on x86-PAE. However, kernel's pmd tables are not shared among processes on x86-PAE. Therefore, any update to sync'd pmd entries need re-syncing. Freeing a pte page also leads to a vmalloc fault and hits the BUG_ON in vmalloc_sync_one(). Disable free page