lkml.org 
[lkml]   [2013]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 2/9] mm, hugetlb: trivial commenting fix
    Date
    Joonsoo Kim <iamjoonsoo.kim@lge.com> writes:

    > The name of the mutex written in comment is wrong.
    > Fix it.
    >
    > Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>

    Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

    >
    > diff --git a/mm/hugetlb.c b/mm/hugetlb.c
    > index d87f70b..d21a33a 100644
    > --- a/mm/hugetlb.c
    > +++ b/mm/hugetlb.c
    > @@ -135,9 +135,9 @@ static inline struct hugepage_subpool *subpool_vma(struct vm_area_struct *vma)
    > * across the pages in a mapping.
    > *
    > * The region data structures are protected by a combination of the mmap_sem
    > - * and the hugetlb_instantion_mutex. To access or modify a region the caller
    > + * and the hugetlb_instantiation_mutex. To access or modify a region the caller
    > * must either hold the mmap_sem for write, or the mmap_sem for read and
    > - * the hugetlb_instantiation mutex:
    > + * the hugetlb_instantiation_mutex:
    > *
    > * down_write(&mm->mmap_sem);
    > * or
    > --
    > 1.7.9.5



    \
     
     \ /
      Last update: 2013-07-15 16:42    [W:4.188 / U:3.368 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site