Re: [PATCH 0/7] task comm cleanups
From: Kees Cook <hidden>
Date: 2021-11-09 18:28:23
Also in:
bpf, linux-fsdevel, linux-perf-users, lkml, netdev
From: Kees Cook <hidden>
Date: 2021-11-09 18:28:23
Also in:
bpf, linux-fsdevel, linux-perf-users, lkml, netdev
On Mon, Nov 08, 2021 at 08:38:33AM +0000, Yafang Shao wrote:
This patchset is part of the patchset "extend task comm from 16 to 24"[1]. Now we have different opinion that dynamically allocates memory to store kthread's long name into a separate pointer, so I decide to take the useful cleanups apart from the original patchset and send it separately[2]. These useful cleanups can make the usage around task comm less error-prone. Furthermore, it will be useful if we want to extend task comm in the future. All of the patches except patch #4 have either a reviewed-by or a acked-by now. I have verfied that the vmcore/crash works well after patch #4. [1]. https://lore.kernel.org/lkml/20211101060419.4682-1-laoar.shao@gmail.com/ (local) [2]. https://lore.kernel.org/lkml/CALOAHbAx55AUo3bm8ZepZSZnw7A08cvKPdPyNTf=E_tPqmw5hw@mail.gmail.com/ (local)
Thanks for collecting this! It all looks good to me. Andrew, can you take these? -Kees -- Kees Cook