Re: [RESEND PATCH] aio: Add support for the POLLFREE

From: Jeff Moyer
Date: Tue Oct 05 2021 - 15:33:26 EST


Hi, Ramji,

Thanks for the explanation of the use after free. I went ahead and
ran the patch through the libaio test suite and it passed.

> -#define POLLFREE (__force __poll_t)0x4000 /* currently only for epoll */
> +#define POLLFREE ((__force __poll_t)0x4000)

You added parenthesis, here, and I'm not sure if that's a necessary part
of this patch.

Other than that:

Reviewed-by: Jeff Moyer <jmoyer@xxxxxxxxxx>