Re: [Xen-devel] [PATCH V2] xen-swiotlb: use actually allocated size on check physical continuous

2018-10-19 Thread Joe Jin
On 10/19/18 6:43 AM, Konrad Rzeszutek Wilk wrote: > I will fold in the stack trace in later tonight. Thanks! Thank you very much! ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH V2] xen-swiotlb: use actually allocated size on check physical continuous

2018-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2018 at 07:16:04PM -0700, Joe Jin wrote: > On 10/18/18 4:52 PM, Konrad Rzeszutek Wilk wrote: > > On Tue, Oct 16, 2018 at 03:21:16PM -0700, Joe Jin wrote: > >> xen_swiotlb_{alloc,free}_coherent() allocate/free memory by order, > >> but passed required size to

Re: [Xen-devel] [PATCH V2] xen-swiotlb: use actually allocated size on check physical continuous

2018-10-18 Thread Joe Jin
On 10/18/18 4:52 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Oct 16, 2018 at 03:21:16PM -0700, Joe Jin wrote: >> xen_swiotlb_{alloc,free}_coherent() allocate/free memory by order, >> but passed required size to range_straddles_page_boundary(), >> when first pages are physical continuous, >>

Re: [Xen-devel] [PATCH V2] xen-swiotlb: use actually allocated size on check physical continuous

2018-10-18 Thread Konrad Rzeszutek Wilk
On Tue, Oct 16, 2018 at 03:21:16PM -0700, Joe Jin wrote: > xen_swiotlb_{alloc,free}_coherent() allocate/free memory by order, > but passed required size to range_straddles_page_boundary(), > when first pages are physical continuous, > range_straddles_page_boundary() returned true, then did not >

[Xen-devel] [PATCH V2] xen-swiotlb: use actually allocated size on check physical continuous

2018-10-16 Thread Joe Jin
xen_swiotlb_{alloc,free}_coherent() allocate/free memory by order, but passed required size to range_straddles_page_boundary(), when first pages are physical continuous, range_straddles_page_boundary() returned true, then did not exchanged memory with Xen, later on free memory, it tried to