Re: [PATCH 7/7] iommu: introduce per-cpu caching to iova allocation

2016-04-13 Thread Adam Morrison
On Tue, Apr 12, 2016 at 12:54 AM, Benjamin Serebrin via iommu wrote: >> +/* >> + * Magazine caches for IOVA ranges. For an introduction to magazines, >> + * see the USENIX 2001 paper "Magazines and Vmem: Extending the Slab >> + * Allocator to Many CPUs and Arbitrary Resources" by Bonwick and Ada

Re: [PATCH 7/7] iommu: introduce per-cpu caching to iova allocation

2016-04-11 Thread Benjamin Serebrin via iommu
On Mon, Dec 28, 2015 at 8:17 AM, Adam Morrison wrote: > From: Omer Peleg > > This patch introduces global and per-CPU caches of IOVAs, so that > CPUs can usually allocate IOVAs without taking the rbtree spinlock > to do so. The caching is based on magazines, as described in "Magazines > and Vmem

[PATCH 7/7] iommu: introduce per-cpu caching to iova allocation

2015-12-28 Thread Adam Morrison
From: Omer Peleg This patch introduces global and per-CPU caches of IOVAs, so that CPUs can usually allocate IOVAs without taking the rbtree spinlock to do so. The caching is based on magazines, as described in "Magazines and Vmem: Extending the Slab Allocator to Many CPUs and Arbitrary Resource