[cc lists and people] > +static inline struct filename *getname(const char __user *name) > +{ > + return getname_flags(name, 0); > +} This may be misguided. The reason is that if function is used often enough then all those clears of the second argument bloat icache at the call sites. Uninlining moves all clears in one place, shrinking callers at the cost of additional function which (in this case) tail calls into another function. And tailcalling is quite efficient (essentially free): getname: xor esi, esi jmp getname_flags