Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754750Ab2F1M53 (ORCPT ); Thu, 28 Jun 2012 08:57:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58086 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754115Ab2F1M5V (ORCPT ); Thu, 28 Jun 2012 08:57:21 -0400 From: Andrea Arcangeli To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: Hillf Danton , Dan Smith , Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt Subject: [PATCH 27/40] autonuma: call autonuma_split_huge_page() Date: Thu, 28 Jun 2012 14:56:07 +0200 Message-Id: <1340888180-15355-28-git-send-email-aarcange@redhat.com> In-Reply-To: <1340888180-15355-1-git-send-email-aarcange@redhat.com> References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1152 Lines: 34 This is needed to make sure the tail pages are also queued into the migration queues of knuma_migrated across a transparent hugepage split. Signed-off-by: Andrea Arcangeli --- mm/huge_memory.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 1598708..55fc72d 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include "internal.h" @@ -1316,6 +1317,7 @@ static void __split_huge_page_refcount(struct page *page) BUG_ON(!PageSwapBacked(page_tail)); lru_add_page_tail(page, page_tail, lruvec); + autonuma_migrate_split_huge_page(page, page_tail); } atomic_sub(tail_count, &page->_count); BUG_ON(__page_count(page) <= 0); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/