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:00:31 EST
On 07/15/2014 04:54 PM, Andy Lutomirski wrote:
> From vague memory, the current mechanism for tracking RAM memtypes (as
> opposed to memtypes for everything that isn't RAM) is limited to a
> very small number of types, leading to oddities like not being able to
> create WT ram with this patchset.
> Using the pagetables directly would be simpler (no extra data
> structure) and would automatically exactly track the set of memtypes
> that can fit in the pagetable structures.
I don't think there is anything fundamental, though. The number of
types had more to do with what there was demand for. I will look into it.
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/