[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F9990D9.10300@redhat.com>
Date: Thu, 26 Apr 2012 14:15:53 -0400
From: Rik van Riel <riel@...hat.com>
To: lwoodman@...hat.com
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-mm@...ck.org, Christoph Lameter <cl@...ux.com>,
Motohiro Kosaki <mkosaki@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH -mm V3] do_migrate_pages() calls migrate_to_node() even
if task is already on a correct node
On 04/26/2012 02:11 PM, Larry Woodman wrote:
> This patch changes do_migrate_pages() to only preserve the relative
> layout inside the
> program if the number of NUMA nodes in the source and destination mask
> are the
> same. If the number is different, we do a much more efficient migration
> by not touching
> memory that is in an allowed node.
>
> This preserves the old behaviour for programs that want it, while
> allowing a userspace
> NUMA placement tool to use the new, faster migration. This improves
> performance in
> our tests by up to a factor of 7.
> Signed-off-by: Larry Woodman<lwoodman@...hat.com>
Reviewed-by: Rik van Riel <riel@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists