[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161017200457.GA26365@lst.de>
Date: Mon, 17 Oct 2016 22:04:57 +0200
From: Christoph Hellwig <hch@....de>
To: Jeff Moyer <jmoyer@...hat.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Christoph Hellwig <hch@....de>, viro@...iv.linux.org.uk,
jack@...e.cz, dmonakhov@...nvz.org, linux-fsdevel@...r.kernel.org,
linux-aio@...ck.org, linux-kernel@...r.kernel.org,
Oleg Nesterov <oleg@...hat.com>,
Mikulas Patocka <mpatocka@...hat.com>
Subject: Re: [PATCH] aio: fix a use after free (and fix freeze protection
of aio writes)
On Mon, Oct 17, 2016 at 04:04:00PM -0400, Jeff Moyer wrote:
> >> Could we just change percpu_rw_semaphore->read_count to be a signed
> >> integer? The down_write path sums up the counters from all cpus...
> >
> > To what point?
>
> Duh, nevermind. You're right, it should work as-is.
Ok, thanks. That also explains why I didn't see any splat in
xfstests..
Powered by blists - more mailing lists