RE: [PATCH 1/1] staging: ion: Fix error handling in ion_buffer_create

2015-09-30 Thread PINTU KUMAR
(ret) > > - goto err; > > } > > > > buffer->dev = dev; > > @@ -261,9 +258,8 @@ static struct ion_buffer *ion_buffer_create(struct > > ion_heap *heap, > > > > err: > > heap->ops->unmap_dma(heap, buffer); > > - heap->ops->free(buffer); > > err1: > > - vfree(buffer->pages); > > + heap->ops->free(buffer); > > err2: > > kfree(buffer); > > return ERR_PTR(ret); > > Suggested-by: Pintu Kumar Reviewed-by: Pintu Kumar ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

RE: Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-07 Thread PINTU KUMAR
d.com" ; > "de...@driverdev.osuosl.org" ; > "linux-ker...@vger.kernel.org" ; IQBAL SHAREEF > ; "pintu_agar...@yahoo.com" ; > Vishnu Pratap Singh ; "c...@samsung.com" > > Sent: Monday, 6 October 2014 11:01 PM > Subject: Re: Re: [PATCH 1/1

Re: Re: [PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread PINTU KUMAR
Hi, > > From: Laura Abbott >To: Heesub Shin ; Pintu Kumar ; >a...@linux-foundation.org; gre...@linuxfoundation.org; john.stu...@linaro.org; >rebe...@android.com; ccr...@android.com; de...@driverdev.osuosl.org; >linux-ker...@vger.kern

[PATCH 1/1] [ion]: system-heap use PAGE_ALLOC_COSTLY_ORDER for high order

2014-10-06 Thread Pintu Kumar
hard-coded value with PAGE_ALLOC_COSTLY_ORDER which is defined as 3. This will help mapping the higher order request in system heap with the actual allocation request. Signed-off-by: Pintu Kumar --- drivers/staging/android/ion/ion_system_heap.c |4 ++-- 1 file changed, 2 insertions(+), 2