Re: free bootmem feedback patch

Andi Kleen
2004-07-14T08:44:31Z

>
> Freeing boot memory... done
>
> It prints more dots every x nodes handled based on the total number of
> nodes, in such a way that the line never exceeds 80 chars. This way it is
> possible to see progress being made. I have tested this on a few machines,
> including a 512p/512GB machine, and it works fine.

Better would be probably to speed this up.

I bet most of the overhead comes from taking locks in free_pages.
How about adding a lockless ____free_pages and using that?
Adding an more optimized path for this is also not out of the question.

Another way would be to increase the bootmem page size, but
this won't cut down the overhead of free_pages.

-Andi