Re: fork: out of memory

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
2 Dec 1997 12:32:36 -0800


In article <linux.kernel.m0xbO97-0005FsC@lightning.swansea.linux.org.uk>,
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>> 256 kB ought to be enough, to be used only for DMA allocations
>> larger than the page size. Large systems (over 64 MB) could have
>> a full megabyte reserved for all DMA allocations.
>
>This is silly. You can already guarantee your DMA allocations and waste
>less memory than that by compiling drivers in rather than as modules

It doesn't seem to work that way with the floppy driver (which cheerfully
fails to open floppies if I'm doing any sort of serious disk-eating work
on my server with 200mb of core) or the st driver (that Just Won't allocate
buffers larger than 128k, thus making me keep 1.2.13 around to read IRIX
tapes.)

Specialised memory regions would be a spiffy thing to have, particularly
if you can have the kernel push unwelcome occupants of that region out
by a method less drastic than `dd if=/dev/zero of=/dev/null bs=<coresize-2k>
count=2'

____
david parsons \bi/ fast memory vs. slow memory, anyone?
\/