Hi, here is bootmem2, a memory block-oriented boot time allocator. Recent NUMA topologies broke the current bootmem's assumption that memory nodes provide non-overlapping and contiguous ranges of pages. To cope with these configurations, bootmem2 operates on contiguous memory blocks. The node model is implemented on top of this scheme, every node provides zero or more blocks of memory. The usage of bootmem2 is almost the same as that of the current allocator. On architectures that allow non-contiguous nodes the arch code must register memory blocks instead of nodes, right now these architectures are x86 and ia64. For all other archs it is enough to select bootmem2 and stop using pgdat->bdata. bootmem can be dropped completely when those two architectures have been migrated to bootmem2. The first patch in this series makes the maximum number of memory blocks (and the resulting number of blocks per node) available to generic code as bootmem2 needs to work with those. The second patch is bootmem2 itself. Although the logical complexity increased, I think the code is quite compact. Every public interface has been documented. The third patch is trivial, it enables bootmem2 for x86_32 machines. The allocator works on my X86_32 UMA computer, everything else is only theory, please give it a test. Hannes arch/x86/Kconfig | 1 b/include/linux/bootmem2.h | 174 +++++++++++++ b/mm/bootmem2.c | 575 +++++++++++++++++++++++++++++++++++++++++++++ include/linux/bootmem.h | 6 include/linux/numa.h | 12 mm/Kconfig | 3 mm/Makefile | 7 mm/page_alloc.c | 4 8 files changed, 776 insertions(+), 6 deletions(-) --
| Thomas Gleixner | Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series.. |
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| Mark Weber | hdparm standby timeout not working for WD raptors? |
| Robin Lee Powell | NFS hang + umount -f: better behaviour requested. |
git: | |
| Adam Roben | Equivalent of `svn switch` for git-svn? |
| Linus Torvalds | Re: On Tabs and Spaces |
| Adam Mercer | git cvsimport error |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Antti Harri | Re: wine question |
| Paul Pruett | anyone using zoneminder.com on OpenBSD? |
| Josh | Re: removing sendmail |
| Sevan / Venture37 | wpi(4) not working in -CURRENT |
| Bill Day | telnet: Unable to connect to remote host: Network is unreachable |
| Dong Liu | Re: CXterm for LINUX |
| Framstag | ftp-error: bind: Address already in use? |
| Theodore Ts'o | RESULT: comp.os.linux passes: 858: 5 |
| ptrace and big kernel lock | 5 minutes ago | Linux kernel |
| SMDK2410 LCD Framebuffer driver | 5 hours ago | Linux kernel |
| Resetting the bios password for Toshiba Laptop | 6 hours ago | Hardware |
| Problem booting a barebone kernel in VMWare | 9 hours ago | Linux kernel |
| IP layer send packet | 13 hours ago | Linux kernel |
| PID to ELF image full path | 15 hours ago | Linux kernel |
| types of kernel | 1 day ago | Linux kernel |
| magical mounts | 2 days ago | Linux kernel |
| Problem in scim in Fedora 9 | 2 days ago | Linux general |
| The new Western Digital power saving drives | 2 days ago | Hardware |
