Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761051AbaGPAA0 (ORCPT ); Tue, 15 Jul 2014 20:00:26 -0400 Received: from terminus.zytor.com ([198.137.202.10]:60822 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761029AbaGPAAW (ORCPT ); Tue, 15 Jul 2014 20:00:22 -0400 Message-ID: <53C5C066.2060707@zytor.com> Date: Tue, 15 Jul 2014 16:59:34 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Andy Lutomirski CC: Toshi Kani , Thomas Gleixner , Ingo Molnar , Andrew Morton , Arnd Bergmann , Konrad Rzeszutek Wilk , plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Stefan Bader , Dave Airlie , Borislav Petkov Subject: Re: [RFC PATCH 3/11] x86, mm, pat: Change reserve_memtype() to handle WT type References: <1405452884-25688-1-git-send-email-toshi.kani@hp.com> <1405452884-25688-4-git-send-email-toshi.kani@hp.com> <1405465801.28702.34.camel@misato.fc.hp.com> <53C5BD3E.2010600@zytor.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -hpa -- 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/