All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Marques <pmarques@grupopie.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Russell King <rmk+lkml@arm.linux.org.uk>,
	Richard Earnshaw <Richard.Earnshaw@arm.com>,
	lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [RFC] ARM binutils feature churn causing kernel problems
Date: Thu, 07 Oct 2004 13:35:32 +0100	[thread overview]
Message-ID: <41653814.1060405@grupopie.com> (raw)
In-Reply-To: <1097016532.32500.357.camel@localhost.localdomain>

Rusty Russell wrote:
> On Tue, 2004-10-05 at 23:14, Russell King wrote:
> 
>>On Tue, Oct 05, 2004 at 01:57:15PM +0100, Richard Earnshaw wrote:
>>
>>>Why don't you pass s to is_arm_mapping_symbol and have it do the same
>>>thing as you've done in get_ksymbol?
>>
>>"sym_entry" is not an ELF symtab structure - it's a parsed version
>>of the `nm' output, and as such does not contain the symbol type nor
>>binding information.
> 
> 
> I believe that Paulo (CC'd) ended up with a patch which included the
> actual type information in /proc/kallsyms.  Paulo, what's the status of
> that patch?

That patch is in the -mm tree, and has been there for a while, so it is 
pretty much stable by now. There were 4 seperate patches, but since they 
were pretty much dependant, I think akpm merged them into 
"kallsyms-data-size-reduction--lookup-speedup.patch".

For those who don't know what the patch is about, it changes the format 
of the compressed kallsyms, so that they occupy less space, decompress 
faster (a lot faster) and include the same type char that was output by nm.

The code in kernel/kallsyms.c handles "aliases" (symbols with the same 
address) in a way that it shows a consistent output: the symbol shown is 
always the first. This can be easily changed, but I didn't want to 
change the old behavior.

The patch by Russel King seems ok to me, although I prefer Rusty's idea 
of not using any symbol that is not in the form "[A-Za-z0-9_]+". We just 
need to check if there are any real world users of these "weird" symbols.

If this seems ok to everyone I can cook up a patch to do this.

-- 
Paulo Marques - www.grupopie.com

To err is human, but to really foul things up requires a computer.
Farmers' Almanac, 1978

  reply	other threads:[~2004-10-07 12:47 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-27 20:03 [RFC] ARM binutils feature churn causing kernel problems Russell King
2004-09-27 20:17 ` Christoph Hellwig
2004-09-27 20:35   ` Russell King
2004-09-27 20:37   ` Nicolas Pitre
2004-10-01 20:11 ` Russell King
2004-10-04 12:01   ` Catalin Marinas
2004-10-04 23:18     ` Rusty Russell
2004-10-05 11:10       ` Richard Earnshaw
2004-10-05 11:53         ` Russell King
2004-10-05 12:57           ` Richard Earnshaw
2004-10-05 13:14             ` Russell King
2004-10-05 13:40               ` Richard Earnshaw
2004-10-05 13:51                 ` Russell King
2004-10-06 10:08                   ` Adrian Cox
2004-10-07 15:02                     ` Russell King
2004-10-12 13:15                     ` Richard Earnshaw
2004-10-07 14:54                   ` Russell King
2004-10-05 23:00               ` Rusty Russell
2004-10-07 12:35                 ` Paulo Marques [this message]
2004-10-07 15:01                   ` Russell King
2004-10-07 16:39                     ` Paulo Marques
2004-10-05 13:02           ` Richard Earnshaw
2004-10-08 15:04 ` Russell King
2004-10-08 16:36   ` Paulo Marques
2004-10-08 18:14     ` Albert Cahalan
2004-10-08 19:43       ` Paulo Marques
2004-10-20 11:38 ` [PATCH] Fix ARM kernel build with permitted binutils versions Russell King
2004-10-26 22:37   ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41653814.1060405@grupopie.com \
    --to=pmarques@grupopie.com \
    --cc=Catalin.Marinas@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    --cc=rusty@rustcorp.com.au \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.