Re: [PATCH] ANDROID: binder: show high watermark of alloc->pages.

From: Martijn Coenen
Date: Mon Nov 13 2017 - 04:59:23 EST


On Mon, Nov 13, 2017 at 10:49 AM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> Who can use this? A userspace tool? Or something else?

The output is part of Android bugreports, it's not parsed
automatically but the information is very useful even to manually look
at. Since Treble, we have more processes using binder, and some 32-bit
Android targets run out of vmalloc space because every process using
binder allocates 1MB in vmalloc address space. 1MB is overkill for
many processes, and this helps us find out which processes that are.

> This is ok for 4.15-rc1, right?

Yes.

Thanks,
Martijn