Re: [PATCH 13/13] memblock, x86: Replace memblock_x86_reserve/free_range() with generic ones

Tejun Heo
2011-07-27T08:08:05Z

Hello, Yinghai.

On Tue, Jul 26, 2011 at 05:59:13PM -0700, Yinghai Lu wrote:
> yes, with bootmem wrap stage, the print out are all the same.
>
> will have
> __alloc_memory_core_early+0x63
> everywhere.
>
> add name print out for comparing, name could give some hint.

The better solution would be making __alloc_memory_core_early() pass
in its caller and print it out. I don't think requiring pretty name
just for debugging is a good or scalable idea. There's no reason to
bother API users with it.

Thanks.

--
tejun