lkml.org 
[lkml]   [2011]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] blk-cgroup: Initialize ioc->cgroup_changed at ioc creation time
On 2011-05-23 16:55, Vivek Goyal wrote:
> If we don't explicitly initialize it to zero, CFQ might think that
> cgroup of ioc has changed and it generates lots of unnecessary calls
> to call_for_each_cic(changed_cgroup). Fix it.
>
> cfq_get_io_context()
> cfq_ioc_set_cgroup()
> call_for_each_cic(ioc, changed_cgroup)

Thanks Vivek, applied.

--
Jens Axboe



\
 
 \ /
  Last update: 2011-05-23 19:39    [W:0.025 / U:41.432 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site