Hi Uchida-san,
Thanks for your comment.
> Where did you build expanded CFQ schedulers?
> I guess that schedulers can be control I/Os if it is built on guest OS,
> But not if on Dom0.
> I guess you built on Dom0 so that you could not control I/O. (maybe, you say)
I built them on guest OS.
> I'm
On Fri, 23 May 2008 20:52:29 +0900
Daisuke Nishimura <[EMAIL PROTECTED]> wrote:
> On 2008/05/22 16:37 +0900, KAMEZAWA Hiroyuki wrote:
> > On Thu, 22 May 2008 15:20:05 +0900
> > Daisuke Nishimura <[EMAIL PROTECTED]> wrote:
> >
> >> +#ifdef CONFIG_CGROUP_SWAP_RES_CTLR
> >> +int swap_cgroup_charge(s
> How about something like this?
>
> :
> usage = swap_cgroup_read_usage(mem); //no need to align to number of page
> limit = swap_cgroup_read_limit(mem); //no need to align to number of page
> ret = (usage * 2 > limit) || (nr_swap_pages * 2 < total_swap_pages)
> :
it seems reasonable to me.