[PATCH] fsldma: fix performance degradation by optimizing spinlock use.

2011-12-25 Thread b29237
From: Forrest shi dma status check function fsl_tx_status is heavily called in a tight loop and the desc lock in fsl_tx_status contended by the dma status update function. this caused the dma performance degrades much. this patch releases the lock in the fsl_tx_status functio

Re: [PATCH 4/5] KVM: PPC: Book3s HV: Implement get_dirty_log using hardware changed bit

2011-12-25 Thread Takuya Yoshikawa
(2011/12/26 8:35), Paul Mackerras wrote: On Fri, Dec 23, 2011 at 02:23:30PM +0100, Alexander Graf wrote: So if I read things correctly, this is the only case you're setting pages as dirty. What if you have the following: guest adds HTAB entry x guest writes to page mapped by x guest r

Re: [PATCH 4/5] KVM: PPC: Book3s HV: Implement get_dirty_log using hardware changed bit

2011-12-25 Thread Paul Mackerras
On Fri, Dec 23, 2011 at 02:23:30PM +0100, Alexander Graf wrote: > So if I read things correctly, this is the only case you're setting > pages as dirty. What if you have the following: > > guest adds HTAB entry x > guest writes to page mapped by x > guest removes HTAB entry x > host fetche

Re: p1020 unstable with 3.2

2011-12-25 Thread Alexander Graf
On 24.12.2011, at 07:53, Benjamin Herrenschmidt wrote: > On Fri, 2011-12-23 at 17:54 +0100, Alexander Graf wrote: >> Hi guys, >> >> While trying to test my latest patch queue for ppc kvm, I realized >> that even though the device trees got updated, the p1020 box still is >> unstable. The trace b