On 12/03/2013 10:13 PM, Benjamin Herrenschmidt wrote:
On Mon, 2013-11-18 at 14:58 +0530, Aneesh Kumar K.V wrote:
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
change_prot_numa should work even if _PAGE_NUMA != _PAGE_PROTNONE.
On archs like ppc64 that don't use _PAGE_PROTNONE and also
On 12/05/2013 12:20 AM, Benjamin Herrenschmidt wrote:
On Thu, 2013-12-05 at 10:48 +0530, Aneesh Kumar K.V wrote:
Ok, I can move the changes below #ifdef CONFIG_NUMA_BALANCING ? We call
change_prot_numa from task_numa_work and queue_pages_range(). The later
may be an issue. So doing the below
On Thu, 2013-12-05 at 12:27 -0500, Rik van Riel wrote:
However, it appears that since the code was #ifdefed
like that, the called code was made generic enough,
that change_prot_numa should actually work for
everything.
In other words:
Reviewed-by: Rik van Riel r...@redhat.com
Ok
Adding Mel and Rik to cc:
Benjamin Herrenschmidt b...@au1.ibm.com writes:
On Mon, 2013-11-18 at 14:58 +0530, Aneesh Kumar K.V wrote:
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
change_prot_numa should work even if _PAGE_NUMA != _PAGE_PROTNONE.
On archs like ppc64 that don't use
On Thu, 2013-12-05 at 10:48 +0530, Aneesh Kumar K.V wrote:
Ok, I can move the changes below #ifdef CONFIG_NUMA_BALANCING ? We call
change_prot_numa from task_numa_work and queue_pages_range(). The later
may be an issue. So doing the below will help ?
-#ifdef CONFIG_ARCH_USES_NUMA_PROT_NONE
On Mon, 2013-11-18 at 14:58 +0530, Aneesh Kumar K.V wrote:
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
change_prot_numa should work even if _PAGE_NUMA != _PAGE_PROTNONE.
On archs like ppc64 that don't use _PAGE_PROTNONE and also have
a separate page table outside linux pagetable,
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
change_prot_numa should work even if _PAGE_NUMA != _PAGE_PROTNONE.
On archs like ppc64 that don't use _PAGE_PROTNONE and also have
a separate page table outside linux pagetable, we just need to
make sure that when calling change_prot_numa we