Re: [PATCH 5/8] cgroups: Ability to stop res charge propagation on bounded ancestor

Li Zefan
2011-08-17T02:41:33Z

> +int res_counter_charge(struct res_counter *counter, unsigned long val,
> + struct res_counter **limit_fail_at)
> +{
> + return res_counter_charge_until(counter, NULL, val, limit_fail_at);
> +}
> +

static inline in res_counter.h ?

...
> +void res_counter_uncharge(struct res_counter *counter, unsigned long val)
> +{
> + res_counter_uncharge_until(counter, NULL, val);
> +}
>

ditto.