lkml.org 
[lkml]   [1999]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Sound problems, Scsi CDDA ripping. 2.2+
Date
> > 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/

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