Re: [PATCH v3 1/1] binder: fix freeze race

2021-09-13 Thread Todd Kjos
On Fri, Sep 10, 2021 at 9:42 AM Li Li wrote: > > From: Li Li > > Currently cgroup freezer is used to freeze the application threads, and > BINDER_FREEZE is used to freeze the corresponding binder interface. > There's already a mechanism in ioctl(BINDER_FREEZE) to wait for any > existing transacti

[PATCH v3 1/1] binder: fix freeze race

2021-09-10 Thread Li Li
From: Li Li Currently cgroup freezer is used to freeze the application threads, and BINDER_FREEZE is used to freeze the corresponding binder interface. There's already a mechanism in ioctl(BINDER_FREEZE) to wait for any existing transactions to drain out before actually freezing the binder interf