diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2013-02-23 01:32:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-24 02:50:10 +0100 |
commit | 43b5fbbd28294e095653d3c1ba9c399b2168e8df (patch) | |
tree | 509f1bfe3c16a85ed561067aa56ea66853b1f726 /arch/arm/plat-iop | |
parent | mm: compaction: do not accidentally skip pageblocks in the migrate scanner (diff) | |
download | linux-43b5fbbd28294e095653d3c1ba9c399b2168e8df.tar.xz linux-43b5fbbd28294e095653d3c1ba9c399b2168e8df.zip |
mm/huge_memory.c: use new hashtable implementation
Switch hugemem to use the new hashtable implementation. This reduces
the amount of generic unrelated code in the hugemem.
This also removes the dymanic allocation of the hash table. The upside
is that we save a pointer dereference when accessing the hashtable, but
we lose 8KB if CONFIG_TRANSPARENT_HUGEPAGE is enabled but the processor
doesn't support hugepages.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Cc: David Rientjes <rientjes@google.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-iop')
0 files changed, 0 insertions, 0 deletions