lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 3/11] x86, mm, pat: Change reserve_memtype() to handle WT type
On 07/15/2014 04:53 PM, Toshi Kani wrote:
>
> Right.
>
> I think using struct page table for the RAM ranges is a good way for
> saving memory, but I wonder how often the RAM ranges are mapped other
> than WB... If not often, reserve_memtype() could simply call
> rbt_memtype_check_insert() for all ranges, including RAM.
>
> In this patch, I left using reserve_ram_pages_type() since I do not see
> much reason to use WT for RAM, either.
>

They get flipped to WC or WT or even UC for some I/O devices, but
ultimately the number of ranges is pretty small.

-hpa




\
 
 \ /
  Last update: 2014-07-16 03:21    [W:0.068 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site