From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [RFT PATCH] blkio: alloc per cpu data from worker thread context( Re: kvm deadlock) Date: Mon, 19 Dec 2011 14:56:35 -0800 Message-ID: <20111219225635.GC6256@google.com> References: <20111214122511.GD18317@amt.cnet> <4EE8A7ED.7060703@redhat.com> <4EE8C8EA.9070207@kernel.dk> <20111215194712.GA11194@redhat.com> <20111216202907.GH7586@redhat.com> <20111219172717.GB7175@redhat.com> <20111219173519.GL24519@google.com> <20111219182717.GC7175@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nate Custer , Jens Axboe , Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org, linux-kernel To: Vivek Goyal Return-path: Content-Disposition: inline In-Reply-To: <20111219182717.GC7175@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hello, Vivek. On Mon, Dec 19, 2011 at 01:27:17PM -0500, Vivek Goyal wrote: > Ok, that's good to know. If per cpu allocator can support this use case, > it will be good for 3.3 onwards. This seems to be right way to go to fix > the problem. Ummm... if we're gonna make percpu usable w/ GFP_NOIO, the right interim solution would be making a simplistic mempool so that later when percpu can do it, it can be swapped easily. I really can't see much benefit of adding refcnting on top of everything just for this. Thanks. -- tejun