Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268654AbUIAF2h (ORCPT ); Wed, 1 Sep 2004 01:28:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268657AbUIAF2h (ORCPT ); Wed, 1 Sep 2004 01:28:37 -0400 Received: from ozlabs.org ([203.10.76.45]:40416 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S268654AbUIAF21 (ORCPT ); Wed, 1 Sep 2004 01:28:27 -0400 Subject: Re: [PATCH] kallsyms: speed up /proc/kallsyms From: Rusty Russell To: Paulo Marques Cc: linux-kernel , Andrew Morton , Matt Mackall In-Reply-To: <4134DEF4.8090001@grupopie.com> References: <4134DEF4.8090001@grupopie.com> Content-Type: text/plain Message-Id: <1094016277.17828.53.camel@bach> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 01 Sep 2004 15:24:37 +1000 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 849 Lines: 21 On Wed, 2004-09-01 at 06:26, Paulo Marques wrote: > This patch implements the "is_exported" bit in the kallsyms_names > compressed stream, so that a "cat /proc/kallsyms" doesn't call > is_exported on every iteration. Prefer the patch split into "comments", "inconsistent kallsyms data fix" and "speedup". I also prefer using a whole letter over a single bit: this allows archs which have wierd nm letters to express them, and instead of case indicating what symbols are exported, we get the real correct results. Thanks, Rusty. -- Anyone who quotes me in their signature is an idiot -- Rusty Russell - 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/