[Top] [All Lists]

Re: %u-order allocation failed

To: mikulas@xxxxxxxxxxxxxxxxxxxxxxxx (Mikulas Patocka)
Subject: Re: %u-order allocation failed
From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 7 Oct 2001 10:40:23 +0100 (BST)
Cc: riel@xxxxxxxxxxxxxxxx (Rik van Riel), kszysiu@xxxxxxxxxxxxxxxxx (Krzysztof Rusocki), linux-xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.3.96.1011006164044.29342B-200000@artax.karlin.mff.cuni.cz> from "Mikulas Patocka" at Oct 06, 2001 04:44:43 PM
Sender: owner-linux-xfs@xxxxxxxxxxx
> 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

<Prev in Thread] Current Thread [Next in Thread>