[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200317141002.GB20730@hirez.programming.kicks-ass.net>
Date: Tue, 17 Mar 2020 15:10:02 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Miroslav Benes <mbenes@...e.cz>
Cc: tglx@...utronix.de, jpoimboe@...hat.com,
linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Re: [RFC][PATCH 08/16] Optimize find_section_by_name()
On Tue, Mar 17, 2020 at 01:22:23PM +0100, Miroslav Benes wrote:
> > @@ -193,6 +198,7 @@ static int read_sections(struct elf *elf
> > sec->len = sec->sh.sh_size;
> >
> > hash_add(elf->section_hash, &sec->hash, sec->idx);
> > + hash_add(elf->section_name_hash, &sec->name_hash, str_hash(sec->name));
> > }
>
> Don't you need to the same in elf_create_section()?
Yes, already fixed. Noticed it yesterday when I was addressing Josh's
comments.
Powered by blists - more mailing lists