]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm: remove obsolete comments about page table lock
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Tue, 5 Nov 2013 05:55:25 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:25 +0000 (16:55 +1100)
The callers of free_pgd_range() and hugetlb_free_pgd_range() don't hold
page table locks.  The comments seems to be obsolete, so let's remove
them.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/mm/hugetlbpage.c
mm/memory.c

index d67db4bd672dd4223065c9b5470ee368a9456d1d..90bb6d9409bfd77b84eb62cd5b2cb594238780b1 100644 (file)
@@ -633,8 +633,6 @@ static void hugetlb_free_pud_range(struct mmu_gather *tlb, pgd_t *pgd,
 
 /*
  * This function frees user-level page tables of a process.
- *
- * Must be called with pagetable lock held.
  */
 void hugetlb_free_pgd_range(struct mmu_gather *tlb,
                            unsigned long addr, unsigned long end,
index d176154c243f2ffad8cf4b1b39f6f30d17c97733..fe95e884c7b65904a81f980dc1592109e8bbd5af 100644 (file)
@@ -453,8 +453,6 @@ static inline void free_pud_range(struct mmu_gather *tlb, pgd_t *pgd,
 
 /*
  * This function frees user-level page tables of a process.
- *
- * Must be called with pagetable lock held.
  */
 void free_pgd_range(struct mmu_gather *tlb,
                        unsigned long addr, unsigned long end,