linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* how to return a chunk of kernel .data to free mem ?
@ 2021-06-05 14:50 jim.cromie
  2021-06-09 11:19 ` David Hildenbrand
  0 siblings, 1 reply; 2+ messages in thread
From: jim.cromie @ 2021-06-05 14:50 UTC (permalink / raw)
  To: LKML, Linux Memory Management List, Jason Baron

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@gmail.com/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-09 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05 14:50 how to return a chunk of kernel .data to free mem ? jim.cromie
2021-06-09 11:19 ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox