From: Sasha Levin Date: Sat, 23 Feb 2013 00:32:27 +0000 (-0800) Subject: mm/huge_memory.c: use new hashtable implementation X-Git-Tag: v3.9-rc1~99^2~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43b5fbbd28294e095653d3c1ba9c399b2168e8df;p=pandora-kernel.git 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 Cc: David Rientjes Cc: "Kirill A. Shutemov" Cc: Xiao Guangrong Cc: Andrea Arcangeli Cc: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed