mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
[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>
This commit is contained in:
parent
8b20f6da20
commit
f10df68604
1 changed files with 1 additions and 1 deletions
|
@ -1640,7 +1640,7 @@ static void unmap_vma_list(struct mm_struct *mm, struct vm_area_struct *vma)
|
||||||
/*
|
/*
|
||||||
* Get rid of page table information in the indicated region.
|
* Get rid of page table information in the indicated region.
|
||||||
*
|
*
|
||||||
* Called with the page table lock held.
|
* Called with the mm semaphore held.
|
||||||
*/
|
*/
|
||||||
static void unmap_region(struct mm_struct *mm,
|
static void unmap_region(struct mm_struct *mm,
|
||||||
struct vm_area_struct *vma, struct vm_area_struct *prev,
|
struct vm_area_struct *vma, struct vm_area_struct *prev,
|
||||||
|
|
Loading…
Reference in a new issue