[lkml]   [2010]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 3/4] hugetlb, rmap: fix confusing page locking in hugetlb_cow()
    On 09/10/2010 12:23 AM, Naoya Horiguchi wrote:
    > if(!trylock_page) block in avoidcopy path of hugetlb_cow() looks confusing
    > and is buggy. Originally this trylock_page() is intended to make sure
    > that old_page is locked even when old_page != pagecache_page, because then
    > only pagecache_page is locked.
    > This patch fixes it by moving page locking into hugetlb_fault().
    > Signed-off-by: Naoya Horiguchi<>

    Acked-by: Rik van Riel <>

    All rights reversed

     \ /
      Last update: 2010-09-10 16:45    [W:0.024 / U:0.720 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site