[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150319210051.GE19657@htj.duckdns.org>
Date: Thu, 19 Mar 2015 17:00:51 -0400
From: Tejun Heo <tj@...nel.org>
To: Jeff Moyer <jmoyer@...hat.com>
Cc: Jens Axboe <axboe@...nel.dk>, kent.overstreet@...il.com,
Benjamin LaHaise <bcrl@...ck.org>, linux-kernel@...r.kernel.org
Subject: Re: serial percpu_ref draining in exit_aio()
On Thu, Mar 19, 2015 at 04:58:33PM -0400, Jeff Moyer wrote:
> Do you really want to do memory allocation in the exit path? That
> sounds like a bad idea to me. (Of course, now you're going to point out
> all the places that currently happens, right? ;-)
I think we just need a counter there - let everyone count down as they
exit and the last one trigger the completion, no?
--
tejun
--
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