lkml.org 
[lkml]   [2007]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subjectproblem in follow_hugetlb_page on ppc64 architecture with get_user_pages
    From
    Date

    Hello,
    if get_user_pages is used on a hugetlb vma, and there was no previous write
    to the pages,
    follow_hugetlb_page will call
    ret = hugetlb_fault(mm, vma, vaddr, 0),
    although the page should be used for write access in get_user_pages.

    We currently see this when testing Infiniband on ppc64 with ehca +
    hugetlbfs.
    From reading the code this should also be an issue on other architectures.
    Roland, Adam, are you aware of anything in this area with mellanox
    Infiniband cards or other usages with I/O adapters?

    Gruss / Regards
    Christoph R. + Nam Ng.


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-11-06 09:57    [W:0.021 / U:59.368 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site