From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by kanga.kvack.org (Postfix) with ESMTP id 271A36B0253 for ; Mon, 27 Jul 2015 15:25:30 -0400 (EDT) Received: by pachj5 with SMTP id hj5so55977619pac.3 for ; Mon, 27 Jul 2015 12:25:29 -0700 (PDT) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by mx.google.com with ESMTPS id d6si46306561pas.51.2015.07.27.12.25.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 12:25:29 -0700 (PDT) Date: Mon, 27 Jul 2015 12:25:27 -0700 From: Andrew Morton Subject: Re: [PATCH -mm v9 0/8] idle memory tracking Message-Id: <20150727122527.c6f7786177e9b5096e623d18@linux-foundation.org> In-Reply-To: References: <20150721163402.43ad2527d9b8caa476a1c9e1@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Kees Cook Cc: Vladimir Davydov , Andres Lagar-Cavilla , Minchan Kim , Raghavendra K T , Johannes Weiner , Michal Hocko , Greg Thelen , Michel Lespinasse , David Rientjes , Pavel Emelyanov , Cyrill Gorcunov , Jonathan Corbet , Linux API , "linux-doc@vger.kernel.org" , Linux-MM , Cgroups , LKML On Mon, 27 Jul 2015 12:18:57 -0700 Kees Cook wrote: > > Why were these put in /proc anyway? Rather than under /sys/fs/cgroup > > somewhere? Presumably because /proc/kpageidle is useful in non-memcg > > setups. > > Do we need a /proc/vm/ for holding these kinds of things? We're > collecting a lot there. Or invent some way for this to be sensible in > /sys? /proc is the traditional place for such things (/proc/kpagecount, /proc/kpageflags, /proc/pagetypeinfo). But that was probably a mistake. /proc/sys/vm is rather a dumping ground of random tunables and statuses, but yes, I do think that moving the kpageidle stuff into there would be better. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org