Re: [PATCH] x86, mm: Avoid extra pxm_to_node()

2014-01-26 Thread David Rientjes
On Sun, 26 Jan 2014, Yinghai Lu wrote: > Index: linux-2.6/arch/x86/mm/srat.c > === > --- linux-2.6.orig/arch/x86/mm/srat.c > +++ linux-2.6/arch/x86/mm/srat.c > @@ -50,14 +50,19 @@ static __init inline int srat_disabled(v > void __ini

Re: [PATCH] x86, mm: Avoid extra pxm_to_node()

2014-01-26 Thread Ingo Molnar
* Yinghai Lu wrote: > In slit init code, more pxm_to_node() calling are added. > > We can cache return with from_node/to_node to avoid them. -ENOPARSE. Please formulate the title and the changelog in an understandable form. Thanks, Ingo -- To unsubscribe from this list: send the lin

[PATCH] x86, mm: Avoid extra pxm_to_node()

2014-01-26 Thread Yinghai Lu
In slit init code, more pxm_to_node() calling are added. We can cache return with from_node/to_node to avoid them. Signed-off-by: Yinghai Lu --- arch/x86/mm/srat.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) Index: linux-2.6/arch/x86/mm/srat.c