[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Accessing > 256MB RAM on O2
On Tue, 10 Mar 2009, Masao Uebayashi wrote:
Once booted, create /dev/crime and configure swap:
$ sudo mknod /dev/crime b 15 2
$ sudo chmod 640 /dev/crime
$ sudo swapctl -a /dev/crime
This gives me access to the additional 192MB of RAM on my 448MB O2.
The patch looks reasonable to me. I think this is worth commiting if it's
marked as a hack and it can be changed easily when better solution is available.
BTW, OpenBSD has himem(4) driver which does similar thing.
Is there any sense in providing a slightly more MI interface for
this? I'm thinking about some of the other ports which have
some fast RAM and some much slower like atari and amiga, and
maybe even x86 boxes used as servers which sometimes end up
with large RAM (512M) video cards... :)
Either way, very cool :)
David/absolute -- www.NetBSD.org: No hype required --
Main Index |
Thread Index |