]> git.baikalelectronics.ru Git - kernel.git/commit
thp: fix interleaving for transparent hugepages
authorAndi Kleen <ak@linux.intel.com>
Fri, 25 Feb 2011 22:44:28 +0000 (14:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Feb 2011 23:07:37 +0000 (15:07 -0800)
commit67832659caf2af85f4ce80cedc44ace16498fa19
tree724280edfbf6bd8206b0cc0337ee242d2a2518e0
parent2561919f47f3a62e8ff7770b6bf84f3d262d6cf2
thp: fix interleaving for transparent hugepages

The THP code didn't pass the correct interleaving shift to the memory
policy code.  Fix this here by adjusting for the order.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Acked-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c