Printbuf rebuffed for now
Printbuf rebuffed for now
Posted Apr 29, 2022 6:26 UTC (Fri) by mb (subscriber, #50428)In reply to: Printbuf rebuffed for now by nevets
Parent article: Printbuf rebuffed for now
Yeah, well. For the usual log messages you need 100? 200? bytes of temporary memory.
And if you need more, then it would probably be a good idea to have dynamic allocation as a second option or use a static allocation.
And if you need more, then it would probably be a good idea to have dynamic allocation as a second option or use a static allocation.
Just saying that I doubt dynamic allocation is a good trade off for the majority of use cases.
(And wasn't there work on getting a dynamic kernel stack? I'm not sure what state that is in.)
