Re: 答复: Using ion memory for direct-io

2017-04-18 Thread Laura Abbott
id.com; >> riandr...@android.com; de...@driverdev.osuosl.org; >> linux-kernel@vger.kernel.org >> 主题: Re: Using ion memory for direct-io >> >> On 04/14/2017 02:18 AM, Zengtao (B) wrote: >>> Hi >>> >>> Currently, the ion mapped to userspace will be forced with VM_IO

Re: Using ion memory for direct-io

2017-04-17 Thread Laura Abbott
On 04/14/2017 02:18 AM, Zengtao (B) wrote: > Hi > > Currently, the ion mapped to userspace will be forced with VM_IO and > VM_PFNMAP flags. > When I use the ion memory to do the direct-io, it will fail when reaching the > get_user_pages, > > Back to the VM_IO and VM_PFNMAP flag, there two flag

Using ion memory for direct-io

2017-04-14 Thread Zengtao (B)
Hi Currently, the ion mapped to userspace will be forced with VM_IO and VM_PFNMAP flags. When I use the ion memory to do the direct-io, it will fail when reaching the get_user_pages, Back to the VM_IO and VM_PFNMAP flag, there two flags are introduced by the remap_pfn_range called by the ion