On Mon, 30 Jun 2025 at 09:55, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > Is any arch other than i386 limited to fewer than four register arguments? > > amd64, for one No, x86-64 has 6 argument registers. Anyway, the use of 'qstr' doesn't actually change any of that, since it will use exactly the same number of argument registers as having separate 'char *, len' arguments. But the thing that makes qstr nice is that it's not only a good abstraction, we also have useful helper macros for exactly this use. IOW, instead of passing in "name, strlen(name)", you can use "QSTR(name)" which does exactly that. Linus