Re: [PATCH v16 06/25] powerpc: mm: Add p?d_leaf() definitions

2019-12-09 Thread Steven Price
On 09/12/2019 11:08, Michael Ellerman wrote: > Steven Price writes: >> walk_page_range() is going to be allowed to walk page tables other than >> those of user space. For this it needs to know when it has reached a >> 'leaf' entry in the page tables. This information is provided by the >>

Re: [PATCH v16 06/25] powerpc: mm: Add p?d_leaf() definitions

2019-12-09 Thread Michael Ellerman
Steven Price writes: > walk_page_range() is going to be allowed to walk page tables other than > those of user space. For this it needs to know when it has reached a > 'leaf' entry in the page tables. This information is provided by the > p?d_leaf() functions/macros. > > For powerpc pmd_large()

[PATCH v16 06/25] powerpc: mm: Add p?d_leaf() definitions

2019-12-06 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_leaf() functions/macros. For powerpc pmd_large() already exists and does what we