Re: [PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-10-09 Thread Stefano Stabellini
On Mon, 30 Sep 2013, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 27, 2013 at 05:10:06PM +0100, Stefano Stabellini wrote: > > Introduce a second red-back tree to track phys to bus mappings created after > > the initialization of the swiotlb buffer. > > Could you explain the use case a bit more

Re: [PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-10-09 Thread Stefano Stabellini
On Mon, 30 Sep 2013, Konrad Rzeszutek Wilk wrote: On Fri, Sep 27, 2013 at 05:10:06PM +0100, Stefano Stabellini wrote: Introduce a second red-back tree to track phys to bus mappings created after the initialization of the swiotlb buffer. Could you explain the use case a bit more please?

Re: [PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-10-02 Thread Stefano Stabellini
On Mon, 30 Sep 2013, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 27, 2013 at 05:10:06PM +0100, Stefano Stabellini wrote: > > Introduce a second red-back tree to track phys to bus mappings created after > > the initialization of the swiotlb buffer. > > Could you explain the use case a bit more

Re: [PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-10-02 Thread Stefano Stabellini
On Mon, 30 Sep 2013, Konrad Rzeszutek Wilk wrote: On Fri, Sep 27, 2013 at 05:10:06PM +0100, Stefano Stabellini wrote: Introduce a second red-back tree to track phys to bus mappings created after the initialization of the swiotlb buffer. Could you explain the use case a bit more please?

Re: [PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-09-30 Thread Konrad Rzeszutek Wilk
On Fri, Sep 27, 2013 at 05:10:06PM +0100, Stefano Stabellini wrote: > Introduce a second red-back tree to track phys to bus mappings created after > the initialization of the swiotlb buffer. Could you explain the use case a bit more please? As in: a) why is this needed b) why are we using the

Re: [PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-09-30 Thread Konrad Rzeszutek Wilk
On Fri, Sep 27, 2013 at 05:10:06PM +0100, Stefano Stabellini wrote: Introduce a second red-back tree to track phys to bus mappings created after the initialization of the swiotlb buffer. Could you explain the use case a bit more please? As in: a) why is this needed b) why are we using the rb

[PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-09-27 Thread Stefano Stabellini
Introduce a second red-back tree to track phys to bus mappings created after the initialization of the swiotlb buffer. Signed-off-by: Stefano Stabellini --- drivers/xen/swiotlb-xen.c | 99 +--- 1 files changed, 83 insertions(+), 16 deletions(-) diff

[PATCH v6 18/19] swiotlb-xen: introduce a rbtree to track phys to bus mappings

2013-09-27 Thread Stefano Stabellini
Introduce a second red-back tree to track phys to bus mappings created after the initialization of the swiotlb buffer. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- drivers/xen/swiotlb-xen.c | 99 +--- 1 files changed, 83