* [merged] fix-interleaving-for-transparent-hugepages-v2.patch removed from -mm tree
@ 2011-02-28 21:10 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2011-02-28 21:10 UTC (permalink / raw)
To: ak, aarcange, cl, mm-commits
The patch titled
thp: fix interleaving for transparent hugepages
has been removed from the -mm tree. Its filename was
fix-interleaving-for-transparent-hugepages-v2.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: thp: fix interleaving for transparent hugepages
From: Andi Kleen <ak@linux.intel.com>
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>
---
mm/mempolicy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/mempolicy.c~fix-interleaving-for-transparent-hugepages-v2 mm/mempolicy.c
--- a/mm/mempolicy.c~fix-interleaving-for-transparent-hugepages-v2
+++ a/mm/mempolicy.c
@@ -1830,7 +1830,7 @@ alloc_pages_vma(gfp_t gfp, int order, st
if (unlikely(pol->mode == MPOL_INTERLEAVE)) {
unsigned nid;
- nid = interleave_nid(pol, vma, addr, PAGE_SHIFT);
+ nid = interleave_nid(pol, vma, addr, PAGE_SHIFT + order);
mpol_cond_put(pol);
page = alloc_page_interleave(gfp, order, nid);
put_mems_allowed();
_
Patches currently in -mm which might be from ak@linux.intel.com are
origin.patch
linux-next.patch
mm-numa-aware-alloc_task_struct_node.patch
mm-numa-aware-alloc_thread_info_node.patch
kthread-numa-aware-kthread_create_on_cpu.patch
kthread-use-kthread_create_on_cpu.patch
llist-lib-add-lock-less-null-terminated-single-list.patch
llist-irq_work-use-llist-in-irq_work.patch
llist-net-rds-replace-xlist-in-net-rds-xlisth-with-llist.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-28 21:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 21:10 [merged] fix-interleaving-for-transparent-hugepages-v2.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.