Skip to contentSkip to conversation

Linux memory management wish :-)

DISCUSSION Rik van Riel 1 participant 1 message Nov 27, 1997 1 message not in the archive Memory management

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 11 lines · Andrea Cisternino

Hi Rik,

Quoted 2 lines

Send Linux memory-management wishes to me: I'm currently looking for something to hack...

OK, here I go...

I'm a researcher at the italian National Institute of Nuclear Physics (INFN) and I'm currently developing Linux device drivers for one of our projects (you can find more info in http://pcape1.pi.infn.it/~acister/dev).

Quoted 6 lines

The hardware/software combination I have to deal with needs big contiguous memory buffers for DMA operations from/to the PCI bus.

To get such buffers I'm presently using the bigphysarea patch from Matt Welch to reserve a memory pool at boot time but I would really like to see some "standard" kernel support for this kind of memory allocation.

We could 'reserve' a large amount of memory for use by DMA/buffer/cache only, so when you need a large amount of memory, the system can kick out buffermem and cache- mem on request...
Also, the memory in that area can't be allowed to have lots of dirty pages in it. Kflushd will have to check it every xx jiffies.
On a 128M machine, reserving 16MB for buffer/cache mem isn't that bad.

I'll look into this (after my crashing HD is replaced by a new one... I can't risk losing even more data).

grtz,

Rik.

----------
Send Linux memory-management wishes to me: I'm currently looking for something to hack...