[Intel-gfx] [PATCH v2] mm/vmalloc: Replace opencoded 4-level page walkers

2017-12-19 Thread Chris Wilson
Rather than open-code the intricacies of walking the 4-level page tables, use the generic page table walker apply_to_page_range() instead. The important change is that it now cleans up after an unsuccessful insertion and propagates the correct error. The current failure may lead to a WARN if we en

[Intel-gfx] [PATCH v2] mm/vmalloc: Replace opencoded 4-level page walkers

2016-10-18 Thread Chris Wilson
Rather than open-code the intricacies of walking the 4-level page tables, use the generic page table walker apply_to_page_range() instead. The important change is that it now cleans up after an unsuccessful insertion and propagates the correct error. The current failure may lead to a WARN if we en