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

From: YAMAMOTO Takashi
Date: Wed Jun 04 2008 - 03:21:14 EST


> 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.

> + );

> +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/

YAMAMOTO Takashi
--
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/