Messages in this thread | | | From | Daniel Colascione <> | Date | Tue, 3 Sep 2019 21:51:20 -0700 | Subject | Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold |
| |
On Tue, Sep 3, 2019 at 9:45 PM Suren Baghdasaryan <surenb@google.com> wrote: > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > <joel@joelfernandes.org> wrote: > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > memory hogs. Several Android teams have been using this patch in various > > kernel trees for half a year now. Many reported to me it is really > > useful so I'm posting it upstream.
It's also worth being able to turn off the per-task memory counter caching, otherwise you'll have two levels of batching before the counter gets updated, IIUC.
| |