page_alloc2 in 2.6 kernels?

Larry Baker <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
In 2007, David McCullough told us we were out of luck for the page_alloc2 non-power-of-2 memory allocator in 2.6 kernels:

> 
> Subject:	Re: Enable page_alloc2 on snapgear 3.3.1 and/or 3.5.0
> Group:	Uclinux-dev
> From:	David McCullough
> Date:	1 Aug 2007
> 
> There is no such option under 2.6, you may like to try SLOB or SLUB
> to see if they help,

Is this still the case?

I have a serious problem with user memory fragmentation on my system (Lantronix EDS2100 with ColdFire 5208 with 8 MB RAM and 8 MB flash).  I use the uClinux that comes with the Lantronix Linux SDK (ftp://ftp.lantronix.com/pub/Linux_SDK/SDK2_0_0_3/linux_sdk_2_0_0_3.iso).

I tried SLOB; my system never boots up.  I tried SLUB; it made no difference.  So, I'm back to the default SLAB memory allocator.  My impression is that SLAB/SLOB/SLUB affect kernel memory allocations only anyway, not user memory allocations.  Which would explain why it does not help.

I use XIP and no tmpfs to reduce RAM use.  gcc compiles everything with -Os.

Larry Baker
US Geological Survey
650-329-5608
[email protected]

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.