Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933301AbaGURBn (ORCPT ); Mon, 21 Jul 2014 13:01:43 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44482 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932740AbaGURBm (ORCPT ); Mon, 21 Jul 2014 13:01:42 -0400 Message-ID: <53CD443A.6050804@zytor.com> Date: Mon, 21 Jul 2014 09:47:54 -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: Toshi Kani , Konrad Rzeszutek Wilk CC: tglx@linutronix.de, mingo@redhat.com, akpm@linux-foundation.org, arnd@arndb.de, plagnioj@jcrosoft.com, tomi.valkeinen@ti.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, stefan.bader@canonical.com, luto@amacapital.net, airlied@gmail.com, bp@alien8.de Subject: Re: [RFC PATCH 0/11] Support Write-Through mapping on x86 References: <1405452884-25688-1-git-send-email-toshi.kani@hp.com> <53C58A69.3070207@zytor.com> <1405459404.28702.17.camel@misato.fc.hp.com> <03d059f5-b564-4530-9184-f91ca9d5c016@email.android.com> <1405546127.28702.85.camel@misato.fc.hp.com> <1405960298.30151.10.camel@misato.fc.hp.com> In-Reply-To: <1405960298.30151.10.camel@misato.fc.hp.com> 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/21/2014 09:31 AM, Toshi Kani wrote: > Do you have any comments / suggestions for this approach? Approach to what, specifically? Keep in mind the PAT bit is different for large pages. This needs to be dealt with. I would also like a systematic way to deal with the fact that Xen (sigh) is stuck with a separate mapping system. I guess Linux could adopt the Xen mappings if that makes it easier, as long as that doesn't have a negative impact on native hardware -- we can possibly deal with some older chips not being optimal. However, my thinking has been to have a "reverse PAT" table in memory of memory types to encodings, both for regular and large pages. -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/