Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753616AbbHWV4b (ORCPT ); Sun, 23 Aug 2015 17:56:31 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:36622 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751612AbbHWV43 (ORCPT ); Sun, 23 Aug 2015 17:56:29 -0400 From: Rasmus Villemoes To: Ingo Molnar Cc: George Spelvin , dave@sr71.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, peterz@infradead.org, riel@redhat.com, rientjes@google.com, torvalds@linux-foundation.org Subject: Re: [PATCH 3/3 v3] mm/vmalloc: Cache the vmalloc memory info Organization: D03 References: <20150823060443.GA9882@gmail.com> <20150823064603.14050.qmail@ns.horizon.com> <20150823081750.GA28349@gmail.com> X-Hashcash: 1:20:150823:linux-mm@kvack.org::XKvyXuInva6s2AfP:000000000000000000000000000000000000000000006UQ X-Hashcash: 1:20:150823:torvalds@linux-foundation.org::FK0Bwj+OMWmTgaPa:000000000000000000000000000000000rQ/ X-Hashcash: 1:20:150823:dave@sr71.net::mqLbwS9FrlTHImct:00002Idv X-Hashcash: 1:20:150823:linux-kernel@vger.kernel.org::AIhd70BLyh4lFgq7:0000000000000000000000000000000002X/B X-Hashcash: 1:20:150823:riel@redhat.com::HKO3f/RzMG/C5vkL:002xjJ X-Hashcash: 1:20:150823:linux@horizon.com::kpuGQ+N8xbj6jYAM:000000000000000000000000000000000000000000003rYd X-Hashcash: 1:20:150823:rientjes@google.com::KnBNBTyZWyHNPkJ5:0000000000000000000000000000000000000000005CQ0 X-Hashcash: 1:20:150823:peterz@infradead.org::BdhkU4CmGdfi3/jH:00000000000000000000000000000000000000000Aomc X-Hashcash: 1:20:150823:mingo@kernel.org::9IOGLQSqXsD3WzC3:0Bd/L Date: Sun, 23 Aug 2015 23:56:24 +0200 In-Reply-To: <20150823081750.GA28349@gmail.com> (Ingo Molnar's message of "Sun, 23 Aug 2015 10:17:51 +0200") Message-ID: <87h9npwtx3.fsf@rasmusvillemoes.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1387 Lines: 32 I was curious why these fields were ever added to /proc/meminfo, and dug up this: commit d262ee3ee6ba4f5f6125571d93d9d63191d2ef76 Author: Andrew Morton Date: Sat Apr 12 12:59:04 2003 -0700 [PATCH] vmalloc stats in /proc/meminfo From: Matt Porter There was a thread a while back on lkml where Dave Hansen proposed this simple vmalloc usage reporting patch. The thread pretty much died out as most people seemed focused on what VM loading type bugs it could solve. I had posted that this type of information was really valuable in debugging embedded Linux board ports. A common example is where people do arch specific setup that limits there vmalloc space and then they find modules won't load. ;) Having the Vmalloc* info readily available is real useful in helping folks to fix their kernel ports. That thread is at . [Maybe one could just remove the fields and see if anybody actually notices/cares any longer. Or, if they are only used by kernel developers, put them in their own file.] Rasmus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/