Messages in this thread | | | Date | Sat, 4 Dec 1999 09:09:45 +0100 | From | Pavel Machek <> | Subject | Re: (XFree86) mmap of /proc/XXX/mem |
| |
Hi!
> I tried something like that, too. However I didn't fill up the file - > I used lseek instead, this way I was only able to access the first > page. If I tried to access any higher pages it bus-errored. Maybe filling > it up does the trick - however then the process will get a private copy > of all pages in this 1Meg - even the ones that are not touched by the BIOS. > This will give me a 1Meg footprint for each real mode image.
1Meg per videocard is not _that_ bad. It is not worse than using dirty tricks. If you want 4.0 released some day, I'd suggest to use this and look at optimizing later. Pavel -- I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
- 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/
| |