Re: [RFC PATCH 3/11] x86, mm, pat: Change reserve_memtype() to handle WT type
From: H. Peter Anvin
Date: Tue Jul 15 2014 - 20:06:13 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/