----- Original Message -----
> Instead of passing the __func__, __FILE__, and __LINE__ pre-processor macros
> to
> each of those functions, print the location of the caller via:
>   printk(%pS", (void *)_RET_IP_).
> This gives enough context information to locate where in the code an error
> occurred, and reduces the code size by about 2 percent.
> Signed-off-by: Andreas Gruenbacher <agrue...@redhat.com>
> ---


Sorry, but I don't like this patch at all.

With all the different versions floating around, and further obscured by static
function optimization by the compiler, this patch just makes debugging harder.
Not impossible, but harder.

In other words, in my opinion, the benefit is not worth the cost.

Plus it has nothing to do with making the rgrp bitmaps read in on-demand.


Bob Peterson

Reply via email to