RE: [PATCH v3] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2019-01-04 Thread Skidanov, Alexey
> -Original Message- > From: Liam Mark [mailto:lm...@codeaurora.org] > Sent: Friday, January 04, 2019 19:42 > To: Skidanov, Alexey > Cc: Laura Abbott ; Greg KH ; > de...@driverdev.osuosl.org; tk...@android.com; r...@android.com; linux- > ker...@vger.kernel.

CMA allocation failure

2018-01-27 Thread Skidanov, Alexey
Hello, I enabled CMA global area to be 8GB. Immediately after boot, I'm able to allocate the really big contiguous chunks of memory (about 8GB). But several minutes after the boot, there is some degradation in an ability of CMA to allocate contiguous memory buffers: [ 2333.037004] cma: cma_all

32 bit user space compatibility

2014-10-26 Thread Skidanov, Alexey
Hi, Running 32 bit user space needs some work to be done with ioctls. I understand that there are two options to implement: 1. Use only fixed size types. Pad IOCTLS params to multiple of 64 bits - simple; don't know if it covers all compatibility issues; 2. 32 bit compatibility laye

RE: CONFIG_PREEMPT_COUNT

2014-03-31 Thread Skidanov, Alexey
To: Skidanov, Alexey Cc: linux-kernel@vger.kernel.org; Gabbay, Oded Subject: Re: CONFIG_PREEMPT_COUNT Alexey, On Mon, 2014-03-31 at 10:38 +, Skidanov, Alexey wrote: > What is the purpose of CONFIG_PREEMPT_COUNT define and how I can > define it? CONFIG_PREEMPT_COUNT is a Kconfig mac

CONFIG_PREEMPT_COUNT

2014-03-31 Thread Skidanov, Alexey
Hello, I found that preempt_enable() and preempt_disable() macros are defined differently depending on CONFIG_PREEMPT_COUNT: - They increment per CPU preemption counter, if CONFIG_PREEMPT_COUNT defined - They do nothing (just call barrier), if not. I have it undefined in my source tree. The ques