On Tue, May 02, 2023 at 10:09:09PM +0200, Petr Tesařík wrote: > Ah, right, I admit I did not quite understand why this change is > needed. However, this is exactly what I don't like about preprocessor > macros. Each macro effectively adds a new keyword to the language. > > I believe everything can be solved with inline functions. What exactly > does not work if you rename alloc_pages() to e.g. alloc_pages_caller() > and then add an alloc_pages() inline function which calls > alloc_pages_caller() with _RET_IP_ as a parameter? Perhaps you should spend a little more time reading the patchset and learning how the code works before commenting.