Re: [PATCH] staging: ashmem: Fix lockdep issue during llseek

2018-02-16 Thread Joel Fernandes
On Fri, Feb 16, 2018 at 8:32 AM, Greg Kroah-Hartman wrote: > On Mon, Feb 12, 2018 at 05:01:25PM -0800, Joel Fernandes wrote: >> ashmem_mutex create a chain of dependencies like so: >> >> (1) >> mmap syscall -> >> mmap_sem -> (acquired) >> ashmem_mmap >>

Re: [PATCH] staging: ashmem: Fix lockdep issue during llseek

2018-02-16 Thread Joel Fernandes
On Fri, Feb 16, 2018 at 8:32 AM, Greg Kroah-Hartman wrote: > On Mon, Feb 12, 2018 at 05:01:25PM -0800, Joel Fernandes wrote: >> ashmem_mutex create a chain of dependencies like so: >> >> (1) >> mmap syscall -> >> mmap_sem -> (acquired) >> ashmem_mmap >> ashmem_mutex (try to acquire) >>

Re: [PATCH] staging: ashmem: Fix lockdep issue during llseek

2018-02-16 Thread Greg Kroah-Hartman
On Mon, Feb 12, 2018 at 05:01:25PM -0800, Joel Fernandes wrote: > ashmem_mutex create a chain of dependencies like so: > > (1) > mmap syscall -> > mmap_sem -> (acquired) > ashmem_mmap > ashmem_mutex (try to acquire) > (block) > > (2) > llseek syscall -> > ashmem_llseek -> >

Re: [PATCH] staging: ashmem: Fix lockdep issue during llseek

2018-02-16 Thread Greg Kroah-Hartman
On Mon, Feb 12, 2018 at 05:01:25PM -0800, Joel Fernandes wrote: > ashmem_mutex create a chain of dependencies like so: > > (1) > mmap syscall -> > mmap_sem -> (acquired) > ashmem_mmap > ashmem_mutex (try to acquire) > (block) > > (2) > llseek syscall -> > ashmem_llseek -> >