lkml.org 
[lkml]   [1998]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 4MB pages and framebuffer access, x11perf results, 2.1.125

On Thu, 29 Oct 1998, Andrea Arcangeli wrote:

> >+ if (off == 0xfc000000) {
> >+ addr = 0x44000000;
> >+ len = 0x00400000;
> >+ flags |= VM_LOCKED;
> >+ }
> >+

> Why you need this? Shound' t X that should set these values at first?

because _my_ card has only a 2MB phsysical framebuffer ;) I wanted the
trick to work even without the direct cooperation of X.

VM_LOCKED is needed to keep the kernel from trying to dereference *pmd in
swap_out_vma(). (this problem is solved properly by pmd_only())

another tough question is, should we allow the mapping of 4M real physical
memory, and how can we get this in a sane way.

-- mingo


-
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:45    [W:0.308 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site