projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/mm/mlock.c
b/mm/mlock.c
index b90c59573abf5da8bd00dcc7b224796ce66befc5..3446b7ef731e6c419cc0cf2656829eeca6fea5a7 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;