Messages in this thread | | | Date | Mon, 5 Sep 2022 19:46:49 -0400 | From | Kent Overstreet <> | Subject | Re: [RFC PATCH 00/30] Code tagging framework and applications |
| |
On Mon, Sep 05, 2022 at 10:49:38AM +0200, Michal Hocko wrote: > This is really my main concern about this whole work. Not only it adds a > considerable maintenance burden to the core MM because
[citation needed]
> it adds on top of > our existing allocator layers complexity but it would need to spread beyond > MM to be useful because it is usually outside of MM where leaks happen.
If you want the tracking to happen at a different level of the call stack, just call _kmalloc() directly and call alloc_tag_add()/sub() yourself.
| |