[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181109191622.t4usetsmidtyt7oa@linux-r8p5>
Date: Fri, 9 Nov 2018 11:16:22 -0800
From: Davidlohr Bueso <dave@...olabs.net>
To: Todd Kjos <tkjos@...gle.com>
Cc: chouryzhou@...cent.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arve Hj?nnev?g <arve@...roid.com>,
Todd Kjos <tkjos@...roid.com>, akpm@...ux-foundation.org,
"open list:ANDROID DRIVERS" <devel@...verdev.osuosl.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V3] binder: ipc namespace support for android binder
On Fri, 09 Nov 2018, Todd Kjos wrote:
>
>print_binder_proc() drops proc->inner_lock and calls
>binder_alloc_print_allocated() which acquires proc->alloc->mutex.
>Likewise, print_binder_stats() calls print_binder_proc_stats() which
>drops its locks to call binder_alloc_print_pages() which also acquires
>proc->alloc->mutex. So binder_procs_lock needs to be a mutex since it
>can block on proc->alloc->mutex.
Ah, very good then.
Thanks,
Davidlohr
Powered by blists - more mailing lists