Aug. 3, 2021
7:27 p.m.
Hi all! On 03/08/2021 20:43, jim.cromie@gmail.com wrote: [...]
there are many uses of : pr_debug("%s ...\n", __func__, ...)
I tried to do a preprocessor catenation to replace the runtime work, but that falls afoul of the def.
And that's a feature because preprocessor concatenation bloats the kernels memory footprint massively. [...]
is there a kernel macro version that would allow this "optimization" ?
pr_*() are slow per se so optimizing there (apart from readability and size od code+data) is wasted time. MfG, Bernd -- Bernd Petrovitsch Email : bernd@petrovitsch.priv.at There is NO CLOUD, just other people's computers. - FSFE LUGA : http://www.luga.at