Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753094Ab3HUXm4 (ORCPT ); Wed, 21 Aug 2013 19:42:56 -0400 Received: from mga03.intel.com ([143.182.124.21]:7314 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752369Ab3HUXmz (ORCPT ); Wed, 21 Aug 2013 19:42:55 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,930,1367996400"; d="scan'208";a="349875276" From: Andi Kleen To: Cyrill Gorcunov Cc: Linus Torvalds , "H. Peter Anvin" , David Vrabel , Andy Lutomirski , Pavel Emelyanov , Andrew Morton , Ingo Molnar , Xen-devel@lists.xen.org, "linux-kernel\@vger.kernel.org" , Konrad Rzeszutek Wilk , Boris Ostrovsky , Jan Beulich Subject: Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use References: <5214C524.1050900@citrix.com> <20130821141926.GT18673@moon> <20130821230557.GD18673@moon> Date: Wed, 21 Aug 2013 16:42:53 -0700 In-Reply-To: <20130821230557.GD18673@moon> (Cyrill Gorcunov's message of "Thu, 22 Aug 2013 03:05:57 +0400") Message-ID: <87wqnehapu.fsf@tassilo.jf.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 23 Cyrill Gorcunov writes: > > Hi all, I worked on patch which would not touch PSE bit for dirty page > tracking and the result is not that good: > > - 2level pages now always page dirty if page is swapped in and out, because > there is no space left in PTE (other than PSE bit) Maybe just don't support soft dirty for 2 level page tables? 2 level page tables should be really on the way out anyways, as they have severe limits and do not support NX. With 3 levels there is enough space. -Andi -- ak@linux.intel.com -- Speaking for myself only -- 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/