Skip to content

Fix a bug and cleanup NUMA boot-time code

Dave Hansen linuxppc-dev 1 version In review

Get series with b4
b4 am 20081209182130.DB2150A2@kernel

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8fix bootmem reservation on uninitialized nodearch/powerpc/mm/numa.c+9 -43 replies
2/8Add better comment on careful_allocation()arch/powerpc/mm/numa.c+10 -20 replies
3/8cleanup careful_allocation(): bootmem already panicsarch/powerpc/mm/numa.c+1 -50 replies
4/8make careful_allocation() return vaddrsarch/powerpc/mm/numa.c+20 -170 replies
5/8cleanup careful_allocation(): consolidate memset()arch/powerpc/mm/numa.c+5 -60 replies
6/8cleanup do_init_bootmem()arch/powerpc/mm/numa.c+55 -492 replies
7/8less use of NODE_DATA()arch/powerpc/mm/numa.c+31 -321 reply
8/8make free_bootmem_with_active_regions() take pgdatarch/mips/sgi-ip27/ip27-memory.c arch/powerpc/mm/mem.c arch/powerpc/mm/numa.c +8 more+18 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Fix a bug and cleanup NUMA boot-time code

The first patch in this series is a genuine bug fix. The rest are really just an RFC.

Jon introduced a bug a while ago. I introduced another when trying to fix Jon's bug. I refuse to accept personal blame for this and, instead, blame the code. :)

The reset of the series are "cleanups" that I think will help clarify the code in numa.c and work to ensure that the next bonehead like me is not as able to easily muck up the code. :)

The cleanups increase in impact and intrusiveness as the series goes along, so please consider them an RFC. But, what I really want to figure out is a safer way to initialize NODE_DATA() and start using it as we bring up bootmem on all the nodes.