[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A4B8BCB.6000108@grupopie.com>
Date: Wed, 01 Jul 2009 17:16:11 +0100
From: Paulo Marques <pmarques@...popie.com>
To: Jan Beulich <JBeulich@...ell.com>
CC: sam@...nborg.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] reduce kallsyms table size on 64-bit arch-s
Jan Beulich wrote:
> Some architectures (the patch carries it out for x86-64) can reduce the
> kallsyms pointer table's size by half through the use of relative 32-
> bit pointers. Since the kallsyms tables get created as assembly files
> anyway, the adjustment is strait forward and only requires a little bit
> of abstraction at the consuming side.
I've been wanting to do this for a long time, so I'm really glad someone
stepped up to do it for me :)
I've reviewed the patch and it looks good. I worry that other
architectures have strange uses for addresses that might produce larger
than 32 bit offsets, especially with CONFIG_KALLSYMS_ALL, but since this
is an "opt-in" config option, I guess it's ok.
Acked-by: Paulo Marques <pmarques@...popie.com>
> Further, independent of architecture, kallsyms_num_syms and
> kallsyms_markers[] can use 32-bit types.
>
> Signed-off-by: Jan Beulich <jbeulich@...ell.com>
--
Paulo Marques - www.grupopie.com
"Who is general Failure and why is he reading my disk?"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists