Re: [PATCH 2/2] Replace the linear search with a binary search for locate the symbols

From: Rusty Russell
Date: Fri Mar 25 2011 - 07:22:32 EST


On Thu, 24 Mar 2011 08:54:57 -0700, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> Alessio Igor Bogani <abogani@xxxxxxxxxx> writes:
>
> > This work was supported by a hardware donation from the CE Linux Forum.
>
> Patch looks good to me. SORT is a nice trick, too bad it won't
> work for the main kernel.

Why not?

If it's just that some linkers don't support SORT, can we work around it
and call sort() of the symbols in our kernel init?

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/