lkml.org 
[lkml]   [1996]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectProblems allocating large memory blocks?
Date
Hi,

I noticed the following two problems (which may or may not be related)
with allocation of large (>4K?) memory blocks in 1.3.98:

- trying to load the ftape module fails with the message

[000] kernel-interface.c (ftape_init) - dmaalloc() failed

even though the machine has a few hundred KB of free RAM at the moment
(and it has only 8 MB total so all memory should be good for DMA).

- trying to do "ls" in ncpfs mounted directory sometimes (not always)
fails with ENOMEM and the messages

Couldn't get a free page.....
ncp_readdir: no MEMORY for cache

Again, the machine sits almost idle, there is plenty of free memory.

What is going on here? Don't tell me to buy more memory :-).

Once the ftape buffer allocation works, maybe it could be done on first
open, not insmod. Why waste 96KB non-swappable memory when not in use?

Marek


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.029 / U:1.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site