Slab defragmentation introduces new functionality not supported by SLAB and SLOB. Make slab depend on EXPERIMENTAL and note its obsoleteness and that various functionality is not supported by SLAB. Also update SLOB's description a bit to indicate that certain OS support is limited by design. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- init/Kconfig | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) Index: linux-2.6/init/Kconfig =================================================================== --- linux-2.6.orig/init/Kconfig 2008-05-09 18:41:41.000000000 -0700 +++ linux-2.6/init/Kconfig 2008-05-09 18:46:13.000000000 -0700 @@ -749,12 +749,16 @@ choice This option allows to select a slab allocator. config SLAB - bool "SLAB" + bool "SLAB (Obsolete)" + depends on EXPERIMENTAL help - The regular slab allocator that is established and known to work - well in all environments. It organizes cache hot objects in - per cpu and per node queues. SLAB is the default choice for - a slab allocator. + The old slab allocator that is being replaced by SLUB. + SLAB does not support slab defragmentation and has limited + debugging support. There is no sysfs support for /sys/kernel/slab. + SLAB requires order 1 allocations for some caches which may under + extreme circumstances fail. New general object debugging methods + (such as kmemcheck) do not support SLAB. The code is complex, + difficult to comprehend and has a history of subtle bugs. config SLUB bool "SLUB (Unqueued Allocator)" @@ -771,7 +775,10 @@ config SLOB help SLOB replaces the stock allocator with a drastically simpler allocator. SLOB is generally more space efficient but - does not perform as well on large systems. + does not perform as well on large systems. SLOBs functionality + is limited by design (no sysfs support, no defrag, no debugging + etc). + endchoice -- -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Linus Torvalds | Linux 2.6.27 |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Frank Lichtenheld | Re: Trying to use git-filter-branch to compress history by removing large, obsolet... |
| Imran M Yousuf | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Petr Baudis | Re: VCS comparison table |
| Aubrey Li | git clone problem through HTTP |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Parvinder Bhasin | OpenBSD and SYNFlood / DDoS protection |
| sonjaya | openvpn on openbsd 4.1 |
| Hugh Dickins | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| Francois Romieu | Re: 8169 Intermittent ifup Failure Issue With RTL8102E Chipset in Intel's New D945... |
| Shared swap partition | 10 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 2 days ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 2 days ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 2 days ago | Linux general |
