Re: ls: can't open '.': Cannot allocate memory

Greg Ungerer <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
Hi Larry,

On 01/11/12 04:24, Larry Baker wrote:
>> On 31/10/12 03:39, Larry Baker wrote:
>>>> On 10/30/2012 08:38 PM, Luis Alves wrote:
[snip]
>>> It seems to me the root of the problem on memory constrained systems is the power-of-2 memory allocator; a boxcar memory allocator would work better, I think.  I have read there used to be a non-power-of-2 memory allocator, named page_alloc2.  Is there any chance it can be revived for 2.6 kernels?  (See my post of 23 October 2012.)
>>
>> I am sure it could be. But it would take a little effort though.
>> I think Phil Wilshire made an effort a few years back to bring the
>> page_alloc2 code up to date with 2.6 kernels.
>
> Yeah, I found Phil back in March, before I found the uClinux.org mailing list (e.g., David McCullough's 1 Aug 2007 posting).
>
> His response to my inquiry was:
>
>> HI Larry,
>> I gave up work on that allocator quite a while ago !!!
>> There are other options available now
>> Slub for example.
>>
>> Best Regards
>>    Phil Wilshire
>
> No good juju there.
>
>> Google and check the
>> archives you may be able to find it.
>
> Whose archives?

My thinking was the uclinux.org email archives.


>  kernel.org?  (Was page_alloc2 part of the mainline 2.4 kernel distribution?  under arch?)  uclinux.org?  Am I looking for page_alloc2, or a different name?  Any advice on what changes to look for to port the 2.4 code to 2.6?

page_alloc2 was never in 2.4 mainline kernels - but nothing
related to uClinux (non-MMU) was. It was a part (and still is) of
the uclinux.org sources. You can find it in pretty much any version
of the uclinux-dist (even the most recent ones) as:

   uClinux-dist/linux-2.4.x/mmnommu/page_alloc2.c

I haven't looked at it in quite a while, really no idea how difficult
it will be to bring up to date.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     [email protected]
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
_______________________________________________
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.