Re: [PATCH] cgroup: use kv(malloc|free) instead of pidlist_(allocate|free)

From: Tejun Heo
Date: Tue Sep 10 2019 - 12:46:54 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>

An equivalent patch is already queued.

https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/commit/?h=for-5.4&id=653a23ca7e1e1ae907654e91d028bc6dfc7fce0c

Thanks.

--
tejun