[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linux memory management wish :-)



On Wed, 26 Nov 1997, Andrea Cisternino wrote:

> Hi Rik,
> 
> > 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).
> 
> 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...