how to return a chunk of kernel .data to free mem ?

From: jim . cromie
Date: Sat Jun 05 2021 - 10:52:18 EST


I have convinced DYNAMIC_DEBUG code to not need
about 15% of its __dyndbg section, about 30kb on my test kernel.

This memory is not kmalloc'd, so krealloc wont work.
(I tried anyway, on a loaded module, it panicd)

Is there a way to return a chunk of init .data memory to general use ?

heres the patchset;
https://lore.kernel.org/lkml/20210529200029.205306-1-jim.cromie@xxxxxxxxx/