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

2019-12-20 Thread Steven Price
On 19/12/2019 11:49, 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 v17 06/23] powerpc: mm: Add p?d_leaf() definitions

2019-12-19 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 p?d_is_leaf()

[PATCH v17 06/23] powerpc: mm: Add p?d_leaf() definitions

2019-12-18 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 p?d_is_leaf() functions already exist. Export