Re: [PATCH v3 2/3] aio: make aio_ring->dead boolean
From: Oleg Nesterov
Date: Thu Jun 18 2015 - 14:28:32 EST
On 06/18, Jeff Moyer wrote:
>
> Oleg Nesterov <oleg@xxxxxxxxxx> writes:
> > @@ -765,7 +765,7 @@ static struct kioctx *ioctx_alloc(unsigned nr_events)
> > err_cleanup:
> > aio_nr_sub(ctx->max_reqs);
> > err_ctx:
> > - atomic_set(&ctx->dead, 1);
> > + ctx->dead = true; /* unneeded */
>
> I was hoping you'd remove this line entirely.
Ah. I didn't understand you wamt me to do this... OK, please see v4.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/