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:
e31f369
)
ksm: cleanup for mm_slots_hash
author
Lai Jiangshan
<laijs@cn.fujitsu.com>
Tue, 10 Aug 2010 00:20:02 +0000
(17:20 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:03 +0000
(20:45 -0700)
Use compile-allocated memory instead of dynamic allocated memory for
mm_slots_hash.
Use hash_ptr() instead divisions for bucket calculation.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Izik Eidus <ieidus@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c
patch
|
blob
|
history
diff --cc
mm/ksm.c
Simple merge