projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e125cd
)
mm/memory.c:print_vma_addr(): call up_read(&mm->mmap_sem) directly
author
Jeff Liu
<
[email protected]
>
Tue, 31 Jul 2012 23:43:18 +0000
(16:43 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 1 Aug 2012 01:42:43 +0000
(18:42 -0700)
Call up_read(&mm->mmap_sem) directly since we have already got mm via
current->mm at the beginning of print_vma_addr().
Signed-off-by: Jie Liu <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/memory.c
patch
|
blob
|
history
diff --git
a/mm/memory.c
b/mm/memory.c
index 59e5bebc2e35a84273354c99c69c35b867b4433e..ec72a616ccd4a4d5862f956a5af5802a6384f17e 100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-3941,7
+3941,7
@@
void print_vma_addr(char *prefix, unsigned long ip)
free_page((unsigned long)buf);
}
}
- up_read(&
current->
mm->mmap_sem);
+ up_read(&mm->mmap_sem);
}
#ifdef CONFIG_PROVE_LOCKING