Re: %u-order allocation failed

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Oct 07 2001 - 04:40:23 EST


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



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:44 EST