Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752750Ab3G0VBr (ORCPT ); Sat, 27 Jul 2013 17:01:47 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:34899 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633Ab3G0VBq (ORCPT ); Sat, 27 Jul 2013 17:01:46 -0400 Date: Sun, 28 Jul 2013 01:01:43 +0400 From: Cyrill Gorcunov To: Andy Lutomirski Cc: Linux MM , LKML , Pavel Emelyanov , Andrew Morton , Matt Mackall , Xiao Guangrong , Marcelo Tosatti , KOSAKI Motohiro , Stephen Rothwell Subject: Re: [PATCH] mm: Save soft-dirty bits on file pages Message-ID: <20130727210143.GA2524@moon> References: <20130726201807.GJ8661@moon> <20130726211844.GB8508@moon> <20130727062512.GC8508@moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 664 Lines: 14 On Sat, Jul 27, 2013 at 10:06:01AM -0700, Andy Lutomirski wrote: > > That being said, a MAP_PRIVATE, un-cowed mapping must be clean -- if > it had been (soft-)dirtied, it would also have been cowed. So you > might be okay. Yas, as far as I know we are either cow'ed or in clean state, thus either soft-bit set on #pf (and when reclaimed rest in file-pte) or it remains clean and there is no change we need to track. -- 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/