Re: use video ram as system ram ?

From: Gerd Knorr (kraxel@goldbach.in-berlin.de)
Date: Wed Apr 05 2000 - 11:49:32 EST


In lists.linux.kernel, you wrote:
> Enrico:
>
> > i've got on RivaTNT (onboard) with 16MB ram and i don't use it all.
> > so is there a possibility to use it as system ram or as swap ?
>
> It would be possible in theory to add it to the free_area structures from
> which memory gets allocated for general use, by calling __free_page on each
> MMU page that you'd like to access from within.

[ ... ]

Probably not worth the trouble. Read access to video memory is very slow...

  Gerd

-- 
Protecting the children is a good way to get a lot of adults who cant
stand up for themselves.		-- seen in some sig on /.

- 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/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:15 EST