lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 18 Jun 2015 20:27:03 +0200
From:	Oleg Nesterov <oleg@...hat.com>
To:	Jeff Moyer <jmoyer@...hat.com>
Cc:	Al Viro <viro@...IV.linux.org.uk>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Benjamin LaHaise <bcrl@...ck.org>, linux-aio@...ck.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/3] aio: make aio_ring->dead boolean

On 06/18, Jeff Moyer wrote:
>
> Oleg Nesterov <oleg@...hat.com> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ