lkml.org 
[lkml]   [2008]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH]Fix broken VMI in 2.6.27-rc..
Jeremy Fitzhardinge wrote:
>>
>> No, but it's hardly vast effort, either.
>
> Thinking about it, the fixmap really has to be as high as possible. If
> it were any lower, then it would either truncate the 1:1 mapping, or
> shadow some physical memory.
>

The proposal was to put it *before* the 1:1 mapping:

FIX_HOLE would start at TASK_SIZE
PAGE_OFFSET would shift to TASK_SIZE + PMD_PAGE_SIZE

All the remaining offsets remain as-is.

It's slightly less efficient than the current version, since we can't
share the PDE page for the fixmap with the final vmalloc map, but not
terribly so.

-hpa


\
 
 \ /
  Last update: 2008-08-08 18:21    [W:0.258 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site