Re: [PATCH v4 10/10] IB/mlx5: Simplify completion into a wait_event

From: Binoy Jayan
Date: Mon Nov 07 2016 - 00:51:18 EST


Hi Linus,

On 3 November 2016 at 21:07, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> This is wrong.

Will change it back.

> Since that "umr_context" variable is on the stack, and you are waiting
> for it to be fully done, it really should be a completion.

Thank you for sharing your insight with wait_event and completion.

-Binoy