Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756445AbYAERMp (ORCPT ); Sat, 5 Jan 2008 12:12:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753274AbYAERMg (ORCPT ); Sat, 5 Jan 2008 12:12:36 -0500 Received: from one.firstfloor.org ([213.235.205.2]:57800 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752997AbYAERMf (ORCPT ); Sat, 5 Jan 2008 12:12:35 -0500 Date: Sat, 5 Jan 2008 18:14:40 +0100 From: Andi Kleen To: Pekka J Enberg Cc: Matt Mackall , Christoph Lameter , Ingo Molnar , Linus Torvalds , Hugh Dickins , Andi Kleen , Peter Zijlstra , Linux Kernel Mailing List , zanussi@us.ibm.com Subject: Re: [PATCH] procfs: provide slub's /proc/slabinfo Message-ID: <20080105171440.GA4137@one.firstfloor.org> References: <84144f020801021109v78e06c6k10d26af0e330fc85@mail.gmail.com> <1199314218.4497.109.camel@cinder.waste.org> <20080103085239.GA10813@elte.hu> <1199378818.8274.25.camel@cinder.waste.org> <1199419890.4608.77.camel@cinder.waste.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 583 Lines: 13 > So, I have this silly memory profiler derived from the kleak patches by > the relayfs people and would love to try it out on an embedded workload > where SLUB memory footprint is terrible. Any suggestions? FWIW this can be all done in a few lines of systemtap. The only change needed to the kernel is to not inline kmalloc(). -Andi -- 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/