From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: Hash table based symbol lookup (was: Re: [Qemu-devel] [PATCH] Fix symbol lookup for mips64* targets)
Date: Mon, 6 Oct 2008 19:11:42 +0300 [thread overview]
Message-ID: <f43fc5580810060911m5d5bafchec77cfcb56ad824d@mail.gmail.com> (raw)
In-Reply-To: <761ea48b0810060329l5d05315euea009eb97d22799b@mail.gmail.com>
On 10/6/08, Laurent Desnogues <laurent.desnogues@gmail.com> wrote:
> On Fri, Oct 3, 2008 at 7:14 PM, Blue Swirl <blauwirbel@gmail.com> wrote:
> >>
> >> I have a hash-table based implementation somewhere if someone
> >> wants to take a look.
> >
> > That would be interesting, please send.
>
> Here you go.
>
> Things to note:
>
> - HT building could be done by a call to syminfo_ht_build
> from elfload.c/machload.c
> - no cleanup code
> - use of malloc
> - only slightly tested
>
> So basically this is only for review purposes :)
I hope I'm wrong, but it looks like in the worst case, for each byte
that the symbol covers, this implementation can allocate a structure
of tens of bytes in size. I wonder what the symbols of 1.5MB
openbios-sparc64 would take.
next prev parent reply other threads:[~2008-10-06 16:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-06 10:29 Hash table based symbol lookup (was: Re: [Qemu-devel] [PATCH] Fix symbol lookup for mips64* targets) Laurent Desnogues
2008-10-06 16:11 ` Blue Swirl [this message]
2008-10-06 16:28 ` Laurent Desnogues
2008-10-07 6:48 ` Laurent Desnogues
2008-10-07 17:50 ` Blue Swirl
2008-10-07 19:34 ` Laurent Desnogues
2008-10-07 21:34 ` Laurent Desnogues
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=f43fc5580810060911m5d5bafchec77cfcb56ad824d@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).