Re: %u-order allocation failed

Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz)
Tue, 9 Oct 2001 00:21:04 +0200 (CEST)


On Sun, 7 Oct 2001, Alan Cox wrote:

> > The difference between memory and vmalloc space is this: you fill up the
> > whole memory with cache => memory fragments. You don't fill up the whole
> > vmalloc space with anything => vmalloc space doesn't fragment.
>
> vmalloc space fragments. You fragment address space rather than pages thats
> all. Same problem

If you have more than half of virtual space free, you can always find two
consecutive free pages. Period.

You can fill up half of virtual space if you start 4096 processes or load
many modules of total size 32M. Is it clear? Do you realize that no one
will ever hit this limit in typical linux configuration?

Mikulas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/