Re: [patch 3/3] kernel: res_counter: remove the unused API

Paul Bolle
2014-10-16T07:20:38Z

On Mon, 2014-10-13 at 21:46 -0400, Johannes Weiner wrote:
> All memory accounting and limiting has been switched over to the
> lockless page counters. Bye, res_counter!
>
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
> Acked-by: Vladimir Davydov <vdavydov@parallels.com>
> Acked-by: Michal Hocko <mhocko@suse.cz>

This patch landed in today's linux-next (ie, next 20141016).

> Documentation/cgroups/resource_counter.txt | 197 -------------------------
> include/linux/res_counter.h | 223 -----------------------------
> init/Kconfig | 6 -
> kernel/Makefile | 1 -
> kernel/res_counter.c | 211 ---------------------------
> 5 files changed, 638 deletions(-)
> delete mode 100644 Documentation/cgroups/resource_counter.txt
> delete mode 100644 include/linux/res_counter.h
> delete mode 100644 kernel/res_counter.c

There's a last reference to CONFIG_RESOURCE_COUNTERS in
Documentation/cgroups/memory.txt. That reference could be dropped too,
couldn't it?

Paul Bolle