lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 16 Oct 2014 17:05:53 +0200
From:	Michal Hocko <mhocko@...e.cz>
To:	Johannes Weiner <hannes@...xchg.org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Paul Bolle <pebolle@...cali.nl>,
	Valentin Rothberg <valentinrothberg@...il.com>,
	Vladimir Davydov <vdavydov@...allels.com>,
	cgroups@...r.kernel.org, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org
Subject: Re: [patch 3/3] kernel: res_counter: remove the unused API

On Thu 16-10-14 10:46:41, Johannes Weiner wrote:
> On Thu, Oct 16, 2014 at 01:20:21PM +0200, Michal Hocko wrote:
> > On Thu 16-10-14 09:20:34, Paul Bolle wrote:
> > > 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@...xchg.org>
> > > > Acked-by: Vladimir Davydov <vdavydov@...allels.com>
> > > > Acked-by: Michal Hocko <mhocko@...e.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?
> > ---
> > From a54e375e85c814199f480cb4ee7a133a395c5a00 Mon Sep 17 00:00:00 2001
> > From: Michal Hocko <mhocko@...e.cz>
> > Date: Thu, 16 Oct 2014 13:15:24 +0200
> > Subject: [PATCH] kernel-res_counter-remove-the-unused-api-fix
> > 
> > ditch the last remainings of res_counter
> > 
> > Reported-by: Paul Bolle <pebolle@...cali.nl>
> > Signed-off-by: Michal Hocko <mhocko@...e.cz>
> 
> That makes sense, although that document is still littered with
> out-of-date and seemingly irrelevant information, which is why I
> didn't bother to update it.

I would also prefer to re-write or remove it long term.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ