Skip to contentSkip to conversation

+ mm-remove-obsolete-comments-about-page-table-lock.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Sep 18, 2013

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + mm-remove-obsolete-comments-about-page-table-lock.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Wed, 18 Sep 2013 15:16:48 -0700

The patch titled
Subject: mm: remove obsolete comments about page table lock
has been added to the -mm tree. Its filename is
mm-remove-obsolete-comments-about-page-table-lock.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-remove-obsolete-comments-about-page-table-lock.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-remove-obsolete-comments-about-page-table-lock.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Naoya Horiguchi <[email protected]>
Subject: 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.

---

 arch/powerpc/mm/hugetlbpage.c |    2 --
 mm/memory.c                   |    2 --
 2 files changed, 4 deletions(-)
arch/powerpc/mm/hugetlbpage.c renamed from arch/powerpc/mm/hugetlbpage.c~mm-remove-obsolete-comments-about-page-table-lock +0 -2
diff -puN arch/powerpc/mm/hugetlbpage.c~mm-remove-obsolete-comments-about-page-table-lock arch/powerpc/mm/hugetlbpage.c
@@ -633,8 +633,6 @@ static void hugetlb_free_pud_range(struc
 
 /*
  * 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,
mm/memory.c renamed from mm/memory.c~mm-remove-obsolete-comments-about-page-table-lock +0 -2
diff -puN mm/memory.c~mm-remove-obsolete-comments-about-page-table-lock mm/memory.c
@@ -453,8 +453,6 @@ static inline void free_pud_range(struct
 
 /*
  * 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,

_

Patches currently in -mm which might be from [email protected] are

mm-remove-obsolete-comments-about-page-table-lock.patch