Re: %u-order allocation failed

Alex Bligh - linux-kernel (linux-kernel@alex.org.uk)
Sun, 07 Oct 2001 00:34:22 +0100


--On Sunday, 07 October, 2001 12:31 AM +0200 Mikulas Patocka
<mikulas@artax.karlin.mff.cuni.cz> wrote:

> Sorry, but it can be triggered by _ANY_ VM since buddy allocator was
> introduced.

Just for info, this was circa 1.0.6 :-) (patches were available
since 0.99.xxx). And before it was introduced, rather a lot
of other things would consistently fail, for instance anything
that reassembled packets whose total size was >4k. And currently
they still need that.

Kernel memory is a limited resource. Contiguous kernel memory
more so. Things that need it need to better deal with the
lack of it, esp. in transient situations (such as by working
round the absence of it, e.g. kiovec in net code, or by
causing some freeing and retrying). And, when contiguous
kernel memory is short, the allocator could do with some
intelligent page freeing to reduce fragmentation.

--
Alex Bligh
-
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/