Messages in this thread | | | Date | Mon, 27 Feb 2012 18:11:41 +0900 | From | Tejun Heo <> | Subject | Re: [PATCHSET] mempool, percpu, blkcg: fix percpu stat allocation and remove stats_lock |
| |
On Sun, Feb 26, 2012 at 10:11:46PM -0500, Vivek Goyal wrote: > Ok. This sounds better than embeding work_struct in blkg, I can embed it > in request_queue and make the worker walk the list of blkg pending > alloc of stats. Will try that. Thanks for the idea.
We might not need to make it even per-queue. Simple global list of pending blkgs and single work item should work fine, I think.
Thanks.
-- tejun
| |