lkml.org 
[lkml]   [2003]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pat support in the kernel
Andi Kleen writes:
> mikpe@csd.uu.se writes:
>
> > (Large pages ignoring PAT index bit 2, or something like that.)
>
> change_page_attr will force 4K pages for these anyways, so for the kernel
> direct mapping it should not be an issue.
>
> For the hugetlbfs user mapping you may need to check the case, but
> it's probably reasonable to EINVAL there.
>
> Other than that everything should be 4K mapped.

The bug is that 4K pages get the wrong PAT index; the large page
thing is the trigger but the large pages themselves arent' affected.

So 4K pages need to be restricted to the low 4 PAT types.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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