From: "" <pmarques@grupopie.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: "" <linux-kernel@vger.kernel.org>
Subject: Re: CONFIG_KALLSYMS_EXTRA_PASS
Date: Wed, 18 May 2005 00:27:08 +0100 [thread overview]
Message-ID: <1116372428.428a7dccec930@webmail.grupopie.com> (raw)
In-Reply-To: <1116365006.9737.42.camel@localhost.localdomain>
Quoting Steven Rostedt <rostedt@goodmis.org>:
> OK, I'm working on a custom kernel, and suddenly I'm getting the compile
> error "Try setting CONFIG_KALLSYMS_EXTRA_PASS". I've also just did a
> debian update, but that doesn't seem to bother the vanilla kernel.
This is probably the same problem that me and other people are having.
It seems that sometimes the symbol that marks the end of a section changes
position with the symbol that marks the beggining of the next section if they
happen to on the same address (they might be on different addresses due to
alignment issues).
In this case the compression algorithm might produce different compression
ratios and the kallsyms compressed data changes size.
You can try the very crude (but effective) way to check if this is your problem
or not. Go to scripts/kallsyms.c and change:
#define WORKING_SET 1024
to:
#define WORKING_SET 65536
This will force kallsyms to use *all* the symbols for the compression, and the
size of the result won't be affected by the symbol positions.
Don't forget to turn off KALLSYMS_EXTRA_PASS to test this.
If this turns out to be the problem _again_, I'll post a patch to fix this for
good by storing the token data from the first pass and use it on the second
pass. This will not only speed up compression, it will also guarantee that this
kind of problems will never bite us again.
--
Paulo Marques
next prev parent reply other threads:[~2005-05-17 23:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-17 21:23 CONFIG_KALLSYMS_EXTRA_PASS Steven Rostedt
2005-05-17 23:27 ` pmarques [this message]
2005-05-18 0:00 ` CONFIG_KALLSYMS_EXTRA_PASS Steven Rostedt
2005-05-18 0:59 ` CONFIG_KALLSYMS_EXTRA_PASS pmarques
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=1116372428.428a7dccec930@webmail.grupopie.com \
--to=pmarques@grupopie.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.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.