Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 30 Jan 2018 19:19:19 -0800 | Subject | Re: [git pull] vfs.git: poll annotations |
| |
On Tue, Jan 30, 2018 at 7:13 PM, Al Viro <viro@zeniv.linux.org.uk> wrote: > > As for the place for mangle/demangle... where would you prefer them?
If we can make gcc generate ok code for the generic case and not need any arch-specific ones, why not just do in <linux/poll.h>?
(And I guess POLLIN/OUT/ERR are standard, so it's only a couple that need to have potential help translating? That would make the helper inline smaller and simpler)
Linus
| |