Re: Sound problems, Scsi CDDA ripping. 2.2+

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 21 Feb 1999 16:12:41 +0000 (GMT)


> > Probably the 'reserve Xmb below 16mb for dma memory' is the best solution.
> > eg in lilo.conf something like
> > append = "dmaram=2m"
> >
> Exactly my point...
> Now who wants to implement this? as I know nothing about Linux's MM ;)

Reserving low memory space is fairly easy. You'd probably want a different
function to kmalloc managing it (kmalloc is called an awful lot), and
your dma memory allocator could call kmalloc itself as a last resort.

> (of course the other solution would be modifying the MM to do some more
> aggressive try_to_get_dmable_memory type thingies)

That may work. Someone was playing with it

> And this raises a question about Linux's MM: How hard is it for the kernel
> to relocate things in physical memory?

Its definitely not 2.2 stuff, its a generally hard problem.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/