[PATCH 12/15] ptwalk: clear_page_range

2005-03-09 Thread Hugh Dickins
Convert clear_page_range pagetable walkers to loops using p?d_addr_end. These are exceptional in that some out-of-tree memory layouts might pass end 0, so the macros need to handle that (though previous code did not). The naming here was out of step: now we usually pass pmd_t *pmd down to

[PATCH 12/15] ptwalk: clear_page_range

2005-03-09 Thread Hugh Dickins
Convert clear_page_range pagetable walkers to loops using p?d_addr_end. These are exceptional in that some out-of-tree memory layouts might pass end 0, so the macros need to handle that (though previous code did not). The naming here was out of step: now we usually pass pmd_t *pmd down to