Hi all!

On 03/08/2021 20:43, jim.cro...@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 : be...@petrovitsch.priv.at
     There is NO CLOUD, just other people's computers. - FSFE
                     LUGA : http://www.luga.at

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to