[PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2015-01-05 Thread Mel Gorman
This is a preparatory patch that introduces protnone helpers for automatic NUMA balancing. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Linus Torvalds torva...@linux-foundation.org Acked-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Tested-by: Sasha Levin sasha.le...@oracle.com ---

[PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2014-12-04 Thread Mel Gorman
This is a preparatory patch that introduces protnone helpers for automatic NUMA balancing. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Linus Torvalds torva...@linux-foundation.org Acked-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Tested-by: Sasha Levin sasha.le...@oracle.com ---

Re: [PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2014-12-02 Thread Mel Gorman
On Tue, Dec 02, 2014 at 09:38:39AM +1100, Benjamin Herrenschmidt wrote: On Fri, 2014-11-21 at 13:57 +, Mel Gorman wrote: #ifdef CONFIG_NUMA_BALANCING +/* + * These work without NUMA balancing but the kernel does not care. See the + * comment in include/asm-generic/pgtable.h + */

Re: [PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2014-12-01 Thread Benjamin Herrenschmidt
On Fri, 2014-11-21 at 13:57 +, Mel Gorman wrote: #ifdef CONFIG_NUMA_BALANCING +/* + * These work without NUMA balancing but the kernel does not care. See the + * comment in include/asm-generic/pgtable.h + */ +static inline int pte_protnone(pte_t pte) +{ + return (pte_val(pte) +

Re: [PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2014-11-21 Thread Mel Gorman
On Thu, Nov 20, 2014 at 11:54:06AM -0800, Linus Torvalds wrote: On Thu, Nov 20, 2014 at 2:19 AM, Mel Gorman mgor...@suse.de wrote: This is a preparatory patch that introduces protnone helpers for automatic NUMA balancing. Oh, I hadn't noticed that you had renamed these things. It was

[PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2014-11-21 Thread Mel Gorman
This is a preparatory patch that introduces protnone helpers for automatic NUMA balancing. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Linus Torvalds torva...@linux-foundation.org Acked-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- arch/powerpc/include/asm/pgtable.h | 15

[PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2014-11-20 Thread Mel Gorman
This is a preparatory patch that introduces protnone helpers for automatic NUMA balancing. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Linus Torvalds torva...@linux-foundation.org Acked-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- arch/powerpc/include/asm/pgtable.h | 11

Re: [PATCH 02/10] mm: Add p[te|md] protnone helpers for use by NUMA balancing

2014-11-20 Thread Linus Torvalds
On Thu, Nov 20, 2014 at 2:19 AM, Mel Gorman mgor...@suse.de wrote: This is a preparatory patch that introduces protnone helpers for automatic NUMA balancing. Oh, I hadn't noticed that you had renamed these things. It was probably already true in your V1 version. I do *not* think that