Re: page allocation failure when cached memory is close to the total memory.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aubrey <[email protected]> wrote:
>
> > The chances of finding 10MB of contiguous free pages are basically nil, so
> > the page allocator doesn't even try to free up pages to attempt to satisfy
> > such a large request.  If it can't find the 10MB of free memory
> > immediately, it just gives up.
> 
> Nope.

Yup.

> I've tested the case on the host. See below. The allocation for
> 300MB was sucessful when the cached memory was close to the total
> memory.

The host has an MMU and hence is able to map discontiguous physical pages
into a virtually contiguous block.  The blackfin doesn't have an MMU and
hence requires that 10MB's worth of physically contiguous pages be free. 
Which is so hard to achieve after the system has been up for a while that
the kernel won't even attempt it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux