lkml.org 
[lkml]   [1999]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (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/

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