Re: [PATCH 1/2] epoll: use the waitqueue lock to protect ep->wq

From: Christoph Hellwig
Date: Thu Dec 14 2017 - 08:06:57 EST


> Hm, that reads a bit weirdly. How about:
>
> The epoll code currently uses the unlocked waitqueue helpers for managing
> ep->wq, but instead of holding the waitqueue lock around these calls, it
> uses its own ep->lock spinlock.

Thanks, fixed.