Re: %u-order allocation failed

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 7 Oct 2001 10:40:23 +0100 (BST)


> Here goes the fix. (note that I didn't try to compile it so there may be
> bugs, but you see the point).

It isnt a fix

> kmalloc should be fixed too (used badly for example in select.c - and yes
> - I have seen real world bugreports for poll randomly failing with
> ENOMEM), but it will be hard to audit all drivers that they do not try to
> use dma on kmallocated memory.

So you run out of blocks of vmalloc address space instead. The same problem
still occurs and always will
-
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/