[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070925020911.GA26289@linux.vnet.ibm.com>
Date: Tue, 25 Sep 2007 07:39:11 +0530
From: Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>
To: roel <12o3l@...cali.nl>
Cc: akpm@...ux-foundation.org, Ingo Molnar <mingo@...e.hu>,
dmitry.adamushko@...il.com, linux-kernel@...r.kernel.org,
dhaval@...ux.vnet.ibm.com, containers@...ts.osdl.org,
kamezawa.hiroyu@...fujitsu.com, menage@...gle.com, efault@....de
Subject: Re: [PATCH 4/5] Add fair-user scheduler
On Tue, Sep 25, 2007 at 01:39:39AM +0200, roel wrote:
> > +static int
> > +root_user_share_read_proc(char *page, char **start, off_t off, int count,
> > + int *eof, void *data)
> > +{
> > + int len;
> > +
> > + len = sprintf(page, "%d\n", init_task_grp_load);
> > +
> > + return len;
> > +}
>
> or use this oneliner:
>
> return sprintf(page, "%d\n", init_task_grp_load);
Looks good. Will fix this in a follow-on.patch.
Thanks!
--
Regards,
vatsa
-
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