Re: [PATCH -mm 2/6] introduce struct res_counter_ratelimit

From: Andrea Righi
Date: Mon Oct 06 2008 - 04:03:30 EST


Paul Menage wrote:
> Hi Andrea,
>
> The principle seems useful, but you seem to be duplicating a lot of
> the existing res_counter code.

Agree.

>
> Could you not either:
>
> - include these two extra fields in res_counter?
> - include res_counter as the first field in a res_counter_ratelimit?

The second solution would save some space if the "ratelimit" part is not used.
Anyway, I'll try to rewrite it to reuse as much code as possible and post a new
patchset.

Thanks for looking into it.

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