[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A03A013.9000405@cn.fujitsu.com>
Date: Fri, 08 May 2009 10:59:31 +0800
From: Gui Jianfeng <guijianfeng@...fujitsu.com>
To: Vivek Goyal <vgoyal@...hat.com>
CC: nauman@...gle.com, dpshah@...gle.com, lizf@...fujitsu.com,
mikew@...gle.com, fchecconi@...il.com, paolo.valente@...more.it,
jens.axboe@...cle.com, ryov@...inux.co.jp, fernando@....ntt.co.jp,
s-uchida@...jp.nec.com, taka@...inux.co.jp, jmoyer@...hat.com,
dhaval@...ux.vnet.ibm.com, balbir@...ux.vnet.ibm.com,
linux-kernel@...r.kernel.org,
containers@...ts.linux-foundation.org, righi.andrea@...il.com,
agk@...hat.com, dm-devel@...hat.com, snitzer@...hat.com,
m-ikeda@...jp.nec.com, akpm@...ux-foundation.org
Subject: Re: [PATCH 17/18] io-controller: IO group refcounting support
Vivek Goyal wrote:
...
>
> - BUG_ON(!RB_EMPTY_ROOT(&st->active));
> - BUG_ON(!RB_EMPTY_ROOT(&st->idle));
> }
>
> - BUG_ON(iog->sched_data.next_active != NULL);
> - BUG_ON(iog->sched_data.active_entity != NULL);
> - BUG_ON(entity->tree != NULL);
> + /* Drop iocg reference on io group */
We'd better to reset iog->iocg_id here since the cgroup is going to destroy.
> + elv_put_iog(iog);
> }
>
> -/**
--
Regards
Gui Jianfeng
--
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