OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb4fc6
)
[PATCH] mlock cleanup
author
Rik Bobbaers
<Rik.Bobbaers@cc.kuleuven.be>
Thu, 7 Dec 2006 04:32:25 +0000
(20:32 -0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:22 +0000
(08:39 -0800)
mm is defined as vma->vm_mm, so use that.
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mlock.c
patch
|
blob
|
history
diff --git
a/mm/mlock.c
b/mm/mlock.c
index
b90c595
..
3446b7e
100644
(file)
--- a/
mm/mlock.c
+++ b/
mm/mlock.c
@@
-65,7
+65,7
@@
success:
ret = make_pages_present(start, end);
}
-
vma->vm_
mm->locked_vm -= pages;
+ mm->locked_vm -= pages;
out:
if (ret == -ENOMEM)
ret = -EAGAIN;