Re: [git pull] vfs.git: poll annotations

From: Linus Torvalds
Date: Tue Jan 30 2018 - 22:19:27 EST


On Tue, Jan 30, 2018 at 7:13 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> 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