summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2013-11-13 00:07:15 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 04:09:03 +0100
commitc69ded84a968e8ecc529b4de68522e4a2dcbf92a (patch)
treef4d52444f1d49fbfe7e3324ee8668345ef2e8b18 /mm/memory.c
parentdrivers/video/acornfb.c: use __free_reserved_page() to simplify the code (diff)
downloadlinux-c69ded84a968e8ecc529b4de68522e4a2dcbf92a.tar.xz
linux-c69ded84a968e8ecc529b4de68522e4a2dcbf92a.zip
mm: remove obsolete comments about page table lock
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 1f2287eaa88e..15744b2cf919 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -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,