[PATCH 1/2] Unify numa_memory_lookup_table allocation and setup.
haveblue at us.ibm.com
Thu Sep 29 06:44:18 EST 2005
On Wed, 2005-09-28 at 15:10 -0300, Gustavo Sverzut Barbieri wrote:
> Here are some patches to clean up lmb.c, numa.c and init.c, as requested by
> Dave Hansen.
Let me elaborate a bit. I created _another_ loop to run through all of
the LMBs in the NUMA init code a few weeks back for memory_present()
calls. I thought this this is a decent way to atone for that messy
This first patch is a pretty simple cleanup.
The LMB macro patch certainly makes some of the code more readable.
But, it might not be worth it to use the macro in lmb.c. It just seems
to make it more complicated. Any thoughts?
More information about the Linuxppc64-dev