[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210317180048.inzdursqmnvxkgwp@wittgenstein>
Date: Wed, 17 Mar 2021 19:00:48 +0100
From: Christian Brauner <christian.brauner@...ntu.com>
To: Li Li <dualli@...omium.org>
Cc: dualli@...gle.com, tkjos@...gle.com, gregkh@...uxfoundation.org,
christian@...uner.io, arve@...roid.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, maco@...gle.com, hridya@...gle.com,
surenb@...gle.com, joel@...lfernandes.org, kernel-team@...roid.com,
jannh@...gle.com
Subject: Re: [PATCH v3 0/3] Binder: Enable App Freezing Capability
On Mon, Mar 15, 2021 at 06:16:27PM -0700, Li Li wrote:
> From: Li Li <dualli@...gle.com>
>
> To improve the user experience when switching between recently used
> applications, the background applications which are not currently needed
> are cached in the memory. Normally, a well designed application will not
> consume valuable CPU resources in the background. However, it's possible
> some applications are not able or willing to behave as expected, wasting
> energy even after being cached.
>
> It is a good idea to freeze those applications when they're only being
> kept alive for the sake of faster startup and energy saving. These kernel
> patches will provide the necessary infrastructure for user space framework
> to freeze and thaw a cached process, check the current freezing status and
> correctly deal with outstanding binder transactions to frozen processes.
>
> Changes in v2: avoid panic by using pr_warn for unexpected cases.
> Changes in v3: improved errcode logic in binder_proc_transaction().
>
> Marco Ballesio (3):
> binder: BINDER_FREEZE ioctl
> binder: use EINTR for interrupted wait for work
> binder: BINDER_GET_FROZEN_INFO ioctl
>
> drivers/android/binder.c | 198 ++++++++++++++++++++++++++--
> drivers/android/binder_internal.h | 18 +++
> include/uapi/linux/android/binder.h | 20 +++
> 3 files changed, 224 insertions(+), 12 deletions(-)
[+Cc Jann]
Christian
Powered by blists - more mailing lists