Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753832AbYCIMFP (ORCPT ); Sun, 9 Mar 2008 08:05:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750799AbYCIMFE (ORCPT ); Sun, 9 Mar 2008 08:05:04 -0400 Received: from saeurebad.de ([85.214.36.134]:43575 "EHLO saeurebad.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750701AbYCIMFD (ORCPT ); Sun, 9 Mar 2008 08:05:03 -0400 From: Johannes Weiner To: Ingo Molnar Cc: Thomas Gleixner , LKML , Linus Torvalds , Andrew Morton , Christoph Lameter , Bart Van Assche Subject: Re: quicklists confuse meminfo References: <20080309111456.GA21690@elte.hu> Date: Sun, 09 Mar 2008 13:03:29 +0100 In-Reply-To: <20080309111456.GA21690@elte.hu> (Ingo Molnar's message of "Sun, 9 Mar 2008 12:14:56 +0100") Message-ID: <87ve3w9ka6.fsf@saeurebad.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 831 Lines: 24 Hi, Ingo Molnar writes: > hm. I think we should not let this much RAM hang around in a > special-purpose allocator like quicklists. Shouldnt the quicklists be > temporary in nature, and be trimmed much more agressively? > > in fact, we have a check_pgt_cache() call in cpu_idle(), which does: > > quicklist_trim(0, pgd_dtor, 25, 16); > > but it appears we dont do quicklist trimming anywhere else! So if a > system has no idle time, the quicklist can grow unbounded, and that's a > real memory leak IMO. It is also called from tlbu_finish_mmu(). Hannes -- 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/