Re: [PATCH] iommu/iova: Separate atomic variables to improve performance

2019-04-11 Thread Joerg Roedel
On Wed, Apr 03, 2019 at 04:35:21PM +0800, Shaokun Zhang wrote: > From: Jinyu Qi > > In struct iova_domain, there are three atomic variables, the former two > are about TLB flush counters which use atomic_add operation, anoter is > used to flush timer that use cmpxhg operation. > These variables

[PATCH] iommu/iova: Separate atomic variables to improve performance

2019-04-03 Thread Shaokun Zhang
From: Jinyu Qi In struct iova_domain, there are three atomic variables, the former two are about TLB flush counters which use atomic_add operation, anoter is used to flush timer that use cmpxhg operation. These variables are in the same cache line, so it will cause some performance loss under th