[lkml]   [2005]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ppc64: update to use the new 4L headers
    >>>>> "Nick" == Nick Piggin <> writes:

    Nick> Chris Friesen wrote:
    >> I needed something like:
    >> pte_t *va_to_ptep_map(struct mm_struct *mm, unsigned int addr)
    >> There was code in follow_page() that did basically what I needed,
    >> but it was all contained within that function so I had to
    >> re-implement it.

    Nick> If you can break out exactly what you need, and make that inline
    Nick> or otherwise available via the correct header, I'm sure it would
    Nick> have a good chance of being merged.

    We're currently working on this, so as to be able to provide
    interfaces to alternative page tables. We want to be able to slot in
    Liedtke's `Guarded Page Tables', or B-trees, or a hash table to see
    what happens.

    Except we've called the function:
    pte_t * lookup_page_table(unsigned long address, struct mm_struct *mm);

    follow_page() is essentially the same after inline expansion happens;
    but we're seeing a regression in clear_page_range() that we want to
    fix before release.

    If you want to take a look (warning: it's still fairly rough
    work-in-progress) there's high level design being worked on at
    and patches from our CVS repository. The only patch of interst is pti.patch.

    cvs -d login
    Logging in to :pserver:anoncvs@lemon:2401/gelato
    CVS password:[enter anoncvs]
    $ cvs co kernel/page_table_interface

    or from

    Peter C
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-05-02 02:21    [W:0.048 / U:23.644 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site