Lai Jiangshan d9f8984c2c ksm: cleanup for mm_slots_hash
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>
2010-08-09 20:45:03 -07:00
..
2010-07-14 17:14:00 +10:00
2010-08-09 20:45:03 -07:00
2010-07-14 17:14:00 +10:00
2010-07-14 17:14:00 +10:00
2010-05-25 08:06:58 -07:00
2010-05-21 18:31:21 -04:00
2010-08-09 20:45:02 -07:00
2010-05-25 08:07:00 -07:00
2010-05-25 15:06:06 +02:00
2010-05-27 22:15:33 -04:00
2010-08-09 20:44:54 -07:00
2010-08-09 20:45:00 -07:00