* [RFC] tree-based bootmem
@ 2001-11-27 6:38 William Lee Irwin III
0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2001-11-27 6:38 UTC (permalink / raw)
To: linux-mips
A number of people have expressed a wish to replace the bitmap-based
bootmem allocator with one that tracks ranges explicitly. I have
written such a replacement in order to deal with some of the situations
I have encountered, in particular, to require less programming effort
to initialize on machines with sparse and irregular memory layouts.
The following patch features space usage proportional only to the number
of distinct fragments of memory, tracking available memory at address
granularity up until the point of initializing per-page data structures,
and the use of segment trees in order to support efficient searches on
those rare machines where this is an issue. According to testing, this
patch appears to save somewhere between 8KB and 2MB on i386 PC's versus
the bitmap-based bootmem allocator.
The following patch has been tested on i386 PC's, IA64 Lions, Netwinders,
DecStation 5000/200's, and IBM IA64 NUMA hardware with sparse memory,
and debugged without the help of logic analyzers or in-target probes. I
would like to thank the testers of #kernelnewbies (reltuk and asalib)
and my co-workers for their help in making this work, and Tony Luck and
Jack Steiner for their assistance in profiling the existing bootmem.
I am now especially interested in feedback regarding its design, and
also the results of wider testing.
The patch is available at
ftp://ftp.kernel.org/pub/linux/kernel/people/wli/bootmem/bootmem-2.5.1-pre1
Cheers,
Bill
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-27 7:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-27 6:38 [RFC] tree-based bootmem William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox