Re: [PATCH] x86: Improve 64 bit __phys_addr call performance

2012-10-24 Thread Alexander Duyck
On 10/24/2012 03:25 AM, Ingo Molnar wrote: > * Alexander Duyck wrote: > >> This patch is meant to improve overall system performance when >> making use of the __phys_addr call on 64 bit x86 systems. To >> do this I have implemented several changes. >> >> First if CONFIG_DEBUG_VIRTUAL is not def

Re: [PATCH] x86: Improve 64 bit __phys_addr call performance

2012-10-24 Thread Ingo Molnar
* Alexander Duyck wrote: > This patch is meant to improve overall system performance when > making use of the __phys_addr call on 64 bit x86 systems. To > do this I have implemented several changes. > > First if CONFIG_DEBUG_VIRTUAL is not defined __phys_addr is > made an inline, similar to

Re: [PATCH] x86: Improve 64 bit __phys_addr call performance

2012-10-10 Thread Alexander Duyck
On 10/10/2012 06:58 AM, Andi Kleen wrote: >> The second change was to streamline the code by making use of the carry flag >> on an add operation instead of performing a compare on a 64 bit value. The >> advantage to this is that it allows us to reduce the overall size of the >> call. >> On my Xeo

Re: [PATCH] x86: Improve 64 bit __phys_addr call performance

2012-10-10 Thread Andi Kleen
> The second change was to streamline the code by making use of the carry flag > on an add operation instead of performing a compare on a 64 bit value. The > advantage to this is that it allows us to reduce the overall size of the call. > On my Xeon E5 system the entire __phys_addr inline call con

[PATCH] x86: Improve 64 bit __phys_addr call performance

2012-10-09 Thread Alexander Duyck
This patch is meant to improve overall system performance when making use of the __phys_addr call on 64 bit x86 systems. To do this I have implemented several changes. First if CONFIG_DEBUG_VIRTUAL is not defined __phys_addr is made an inline, similar to how this is currently handled in 32 bit.