Re: [RFC PATCH 00/30] Code tagging framework and applications

From: Peter Zijlstra
Date: Thu Sep 01 2022 - 03:01:14 EST


On Wed, Aug 31, 2022 at 11:19:48AM +0100, Mel Gorman wrote:

> It's also unclear *who* would enable this. It looks like it would mostly
> have value during the development stage of an embedded platform to track
> kernel memory usage on a per-application basis in an environment where it
> may be difficult to setup tracing and tracking. Would it ever be enabled
> in production?

Afaict this is developer only; it is all unconditional code.

> Would a distribution ever enable this?

I would sincerely hope not. Because:

> If it's enabled, any overhead cannot be disabled/enabled at run or
> boot time so anyone enabling this would carry the cost without never
> necessarily consuming the data.

this.