Commit f10df6860498c7f52db4f00ff00a1ba334bcfea0

Authored by Paolo 'Blaisorblade' Giarrusso
Committed by Linus Torvalds
1 parent 8b20f6da20

[PATCH] fix locking comment in unmap_region()

That comment is plain wrong (we even take the pagetable lock inside
unmap_region()).

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1640,7 +1640,7 @@
1640 1640 /*
1641 1641 * Get rid of page table information in the indicated region.
1642 1642 *
1643   - * Called with the page table lock held.
  1643 + * Called with the mm semaphore held.
1644 1644 */
1645 1645 static void unmap_region(struct mm_struct *mm,
1646 1646 struct vm_area_struct *vma, struct vm_area_struct *prev,