[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4DDA9AFF.3080400@fusionio.com>
Date: Mon, 23 May 2011 19:35:59 +0200
From: Jens Axboe <jaxboe@...ionio.com>
To: Vivek Goyal <vgoyal@...hat.com>
CC: linux kernel mailing list <linux-kernel@...r.kernel.org>,
Paul Bolle <pebolle@...cali.nl>
Subject: Re: [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
--
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