Re: Re: Monocrom Display

Antonino Daplas <[email protected]>
Newsgroups gmane.linux.fbdev.user
Message-ID <[email protected]>
On Tue, 2003-02-25 at 04:33, [email protected] wrote:
> Hello Tony,
> 
> many, many thanks for your sugestions! __get_free_pages() and co works now.
> 
> The last added function was SetPageReserved(). I do not know about this funktion, find only in other FB drivers. So I will reading something about memory function in kernel and give all my functions the correct Arguments.
> 
> Thanks again!
> 

Yes, I forgot about that. The PG_reserved bit prevents the page from
being swapped out.  Also, remap_page_range() does not allow mapping
non-reserved pages, ie. when a user tries to mmap(), the OS will
pagefault it to a new page instead.

Tony 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.