Re: [PATCH] cgroup: use kv(malloc|free) instead of pidlist_(allocate|free)
From: Roman Gushchin
Date: Mon Sep 09 2019 - 12:25:13 EST
On Sun, Sep 08, 2019 at 05:40:41PM +0300, Ivan Safonov wrote:
> Resolve TODO:
> > The following two functions "fix" the issue where there are more pids
> > than kmalloc will give memory for; in such cases, we use vmalloc/vfree.
> > TODO: replace with a kernel-wide solution to this problem
>
> kv(malloc|free) is appropriate replacement for pidlist_(allocate|free).
>
> Signed-off-by: Ivan Safonov <insafonov@xxxxxxxxx>
Looks good to me!
Acked-by: Roman Gushchin <guro@xxxxxx>
Thanks!