lkml.org 
[lkml]   [2009]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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




\
 
 \ /
  Last update: 2009-05-08 05:09    [W:0.408 / U:11.812 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site