Re: [RFC][PATCH 2/2] fix kvm's use of __pa() on percpu areas

2012-11-29 Thread Gleb Natapov
On Thu, Nov 29, 2012 at 09:47:30AM +0200, Gleb Natapov wrote: > On Thu, Nov 29, 2012 at 12:53:56AM +, Dave Hansen wrote: > > > > In short, it is illegal to call __pa() on an address holding > > a percpu variable. The times when this actually matters are > > pretty obscure (certain 32-bit

Re: [RFC][PATCH 2/2] fix kvm's use of __pa() on percpu areas

2012-11-29 Thread Gleb Natapov
On Thu, Nov 29, 2012 at 09:47:30AM +0200, Gleb Natapov wrote: On Thu, Nov 29, 2012 at 12:53:56AM +, Dave Hansen wrote: In short, it is illegal to call __pa() on an address holding a percpu variable. The times when this actually matters are pretty obscure (certain 32-bit NUMA

Re: [RFC][PATCH 2/2] fix kvm's use of __pa() on percpu areas

2012-11-28 Thread Gleb Natapov
On Thu, Nov 29, 2012 at 12:53:56AM +, Dave Hansen wrote: > > In short, it is illegal to call __pa() on an address holding > a percpu variable. The times when this actually matters are > pretty obscure (certain 32-bit NUMA systems), but it _does_ > happen. It is important to keep KVM guests

[RFC][PATCH 2/2] fix kvm's use of __pa() on percpu areas

2012-11-28 Thread Dave Hansen
In short, it is illegal to call __pa() on an address holding a percpu variable. The times when this actually matters are pretty obscure (certain 32-bit NUMA systems), but it _does_ happen. It is important to keep KVM guests working on these systems because the real hardware is getting harder

[RFC][PATCH 2/2] fix kvm's use of __pa() on percpu areas

2012-11-28 Thread Dave Hansen
In short, it is illegal to call __pa() on an address holding a percpu variable. The times when this actually matters are pretty obscure (certain 32-bit NUMA systems), but it _does_ happen. It is important to keep KVM guests working on these systems because the real hardware is getting harder

Re: [RFC][PATCH 2/2] fix kvm's use of __pa() on percpu areas

2012-11-28 Thread Gleb Natapov
On Thu, Nov 29, 2012 at 12:53:56AM +, Dave Hansen wrote: In short, it is illegal to call __pa() on an address holding a percpu variable. The times when this actually matters are pretty obscure (certain 32-bit NUMA systems), but it _does_ happen. It is important to keep KVM guests