From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751895Ab2GBEOr (ORCPT ); Mon, 2 Jul 2012 00:14:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9638 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538Ab2GBEOo (ORCPT ); Mon, 2 Jul 2012 00:14:44 -0400 Message-ID: <4FF12013.1040208@redhat.com> Date: Mon, 02 Jul 2012 00:14:11 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Andrea Arcangeli CC: linux-kernel@vger.kernel.org, linux-mm@kvack.org, 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 , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt Subject: Re: [PATCH 25/40] autonuma: follow_page check for pte_numa/pmd_numa References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> <1340888180-15355-26-git-send-email-aarcange@redhat.com> In-Reply-To: <1340888180-15355-26-git-send-email-aarcange@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/28/2012 08:56 AM, Andrea Arcangeli wrote: > Without this, follow_page wouldn't trigger the NUMA hinting faults. > > Signed-off-by: Andrea Arcangeli follow_page is called from many different places, not just the process itself. One example would be ksm. Do you really want to trigger NUMA hinting faults when the mm != current->mm, or is that magically prevented somewhere? -- All rights reversed From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx145.postini.com [74.125.245.145]) by kanga.kvack.org (Postfix) with SMTP id 95E0B6B0062 for ; Mon, 2 Jul 2012 00:14:32 -0400 (EDT) Message-ID: <4FF12013.1040208@redhat.com> Date: Mon, 02 Jul 2012 00:14:11 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 25/40] autonuma: follow_page check for pte_numa/pmd_numa References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> <1340888180-15355-26-git-send-email-aarcange@redhat.com> In-Reply-To: <1340888180-15355-26-git-send-email-aarcange@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, 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 , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt On 06/28/2012 08:56 AM, Andrea Arcangeli wrote: > Without this, follow_page wouldn't trigger the NUMA hinting faults. > > Signed-off-by: Andrea Arcangeli follow_page is called from many different places, not just the process itself. One example would be ksm. Do you really want to trigger NUMA hinting faults when the mm != current->mm, or is that magically prevented somewhere? -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org