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

2018-02-27 Thread Greg Hackmann
On 02/22/2018 01:02 PM, Joel Fernandes wrote: > (reposting in plain text, sorry for the previous HTML email, I should > have not posted from the Phone) > > On Thu, Feb 22, 2018 at 5:48 AM, Greg Kroah-Hartman > wrote: >> On Fri, Feb 16, 2018 at 11:02:01AM -0800, Joel

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

2018-02-27 Thread Greg Hackmann
On 02/22/2018 01:02 PM, Joel Fernandes wrote: > (reposting in plain text, sorry for the previous HTML email, I should > have not posted from the Phone) > > On Thu, Feb 22, 2018 at 5:48 AM, Greg Kroah-Hartman > wrote: >> On Fri, Feb 16, 2018 at 11:02:01AM -0800, Joel Fernandes wrote: >>>

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

2018-02-26 Thread Todd Kjos
Ack. I confirmed that the syzbot could not reproduce the issue with this patch. On Thu, Feb 22, 2018 at 1:02 PM, Joel Fernandes wrote: > (reposting in plain text, sorry for the previous HTML email, I should > have not posted from the Phone) > > On Thu, Feb 22, 2018 at 5:48 AM,

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

2018-02-26 Thread Todd Kjos
Ack. I confirmed that the syzbot could not reproduce the issue with this patch. On Thu, Feb 22, 2018 at 1:02 PM, Joel Fernandes wrote: > (reposting in plain text, sorry for the previous HTML email, I should > have not posted from the Phone) > > On Thu, Feb 22, 2018 at 5:48 AM, Greg Kroah-Hartman

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

2018-02-22 Thread Joel Fernandes
(reposting in plain text, sorry for the previous HTML email, I should have not posted from the Phone) On Thu, Feb 22, 2018 at 5:48 AM, Greg Kroah-Hartman wrote: > On Fri, Feb 16, 2018 at 11:02:01AM -0800, Joel Fernandes wrote: >> ashmem_mutex create a chain of

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

2018-02-22 Thread Joel Fernandes
(reposting in plain text, sorry for the previous HTML email, I should have not posted from the Phone) On Thu, Feb 22, 2018 at 5:48 AM, Greg Kroah-Hartman wrote: > On Fri, Feb 16, 2018 at 11:02:01AM -0800, Joel Fernandes wrote: >> ashmem_mutex create a chain of dependencies like so: >> >> (1) >>

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

2018-02-22 Thread Greg Kroah-Hartman
On Fri, Feb 16, 2018 at 11:02:01AM -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 v2] staging: android: ashmem: Fix lockdep issue during llseek

2018-02-22 Thread Greg Kroah-Hartman
On Fri, Feb 16, 2018 at 11:02:01AM -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 -> >