lkml.org 
[lkml]   [2019]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v4 03/19] mips: mm: Add p?d_large() definitions
    Date
    Hi Steven,

    On Wed, Mar 06, 2019 at 03:50:15PM +0000, Steven Price wrote:
    > 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_large() functions/macros.
    >
    > For mips, we only support large pages on 64 bit.
    >
    > For 64 bit if _PAGE_HUGE is defined we can simply look for it. When not
    > defined we can be confident that there are no large pages in existence
    > and fall back on the generic implementation (added in a later patch)
    > which returns 0.
    >
    > CC: Ralf Baechle <ralf@linux-mips.org>
    > CC: Paul Burton <paul.burton@mips.com>
    > CC: James Hogan <jhogan@kernel.org>
    > CC: linux-mips@vger.kernel.org
    > Signed-off-by: Steven Price <steven.price@arm.com>

    Acked-by: Paul Burton <paul.burton@mips.com>

    Thanks,
    Paul

    \
     
     \ /
      Last update: 2019-03-06 18:13    [W:2.613 / U:0.972 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site