Messages in this thread |  | | | Date | Tue, 20 Dec 2011 12:45:22 -0800 | | From | Tejun Heo <> | | Subject | Re: [RFT PATCH] blkio: alloc per cpu data from worker thread context( Re: kvm deadlock) |
| |
Hello,
On Tue, Dec 20, 2011 at 09:50:24AM -0500, Vivek Goyal wrote: > So IIUC, existing mempool implementation is not directly usable for my > requirement and I need to write some code of my own for the caching > layer which always allocates objects from reserve and fills in the > pool asynchronously with the help of a worker thread.
I've been looking at it and don't think allowing percpu allocator to be called from no io path is a good idea. The on-demand area filling is tied into vmalloc area management which in turn is tied to arch page table code and I really want to avoid pre-allocating full chunk - it can be huge. I'm trying to extend mempool to cover percpu areas, so please wait a bit.
Thanks.
-- tejun
|  |