Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy

From: KAMEZAWA Hiroyuki
Date: Wed Jun 04 2008 - 03:27:41 EST


On Wed, 4 Jun 2008 16:20:48 +0900 (JST)
yamamoto@xxxxxxxxxxxxx (YAMAMOTO Takashi) wrote:

> > ssize_t res_counter_write(struct res_counter *counter, int member,
> > - const char __user *buf, size_t nbytes, loff_t *pos,
> > - int (*write_strategy)(char *buf, unsigned long long *val));
> > + const char __user *buf, size_t nbytes, loff_t *pos,
> > + int (*write_strategy)(char *buf, unsigned long long *val),
> > + int (*set_strategy)(struct res_counter *res, unsigned long long val,
> > + int what),
>
> this comma seems surplus.
>
Ouch, I thought I fixed this...maybe patch reflesh trouble. Thanks.


> > + );
>
> > +int res_counter_return_resource(struct res_counter *child,
> > + unsigned long long val,
> > + int (*callback)(struct res_counter *res, unsigned long long val),
> > + int retry)
> > +{
>
> > + callback(parent, val);
>
> s/parent/child/
>
Hmm..yes.

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/