Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752677Ab3HUSRh (ORCPT ); Wed, 21 Aug 2013 14:17:37 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:40193 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751624Ab3HUSRg (ORCPT ); Wed, 21 Aug 2013 14:17:36 -0400 Date: Wed, 21 Aug 2013 22:17:33 +0400 From: Cyrill Gorcunov To: David Vrabel Cc: Jan Beulich , Andy Lutomirski , Andrew Morton , Linus Torvalds , Xen-devel@lists.xen.org, Boris Ostrovsky , Konrad Rzeszutek Wilk , Pavel Emelyanov , Ingo Molnar , "linux-kernel@vger.kernel.org" , "H. Peter Anvin" Subject: Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use Message-ID: <20130821181733.GC3814@moon> References: <5214C524.1050900@citrix.com> <20130821141223.GS18673@moon> <5214F09002000078000ED5C3@nat28.tlf.novell.com> <20130821154238.GV18673@moon> <521500E102000078000ED65C@nat28.tlf.novell.com> <20130821161946.GW18673@moon> <5214F128.1000901@citrix.com> <20130821172547.GY18673@moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130821172547.GY18673@moon> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 18 On Wed, Aug 21, 2013 at 09:25:47PM +0400, Cyrill Gorcunov wrote: > > > > However, I do find the use of PTE bits in this way somewhat fragile. > > What other potential corner cases might still remain that will require > > further games with PTE bits? > > OK, so this is not a bug finally. The problem is that 2 level pte is > quite small and 7th bit is the only one spare I can use for soft dirty > tracking when page get swapped out. And swap engine is very depending > on pte being non-present, so we are on a safe side. To make it clear: I'm working on patch that won't use pse bit for dirty page tracking, just give some time to cook it and test. -- 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/