git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f0fea
)
mm_for_maps: shift down_read(mmap_sem) to the caller
author
Oleg Nesterov
<oleg@redhat.com>
Fri, 10 Jul 2009 01:27:38 +0000
(
03:27
+0200)
committer
James Morris
<jmorris@namei.org>
Mon, 10 Aug 2009 10:48:32 +0000
(20:48 +1000)
mm_for_maps() takes ->mmap_sem after security checks, this looks
strange and obfuscates the locking rules. Move this lock to its
single caller, m_start().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
No differences found