From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751633AbaJVNoW (ORCPT ); Wed, 22 Oct 2014 09:44:22 -0400 Received: from casper.infradead.org ([85.118.1.10]:58230 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987AbaJVNoV (ORCPT ); Wed, 22 Oct 2014 09:44:21 -0400 Date: Wed, 22 Oct 2014 15:44:16 +0200 From: Peter Zijlstra To: "Kirill A. Shutemov" Cc: torvalds@linux-foundation.org, paulmck@linux.vnet.ibm.com, tglx@linutronix.de, akpm@linux-foundation.org, riel@redhat.com, mgorman@suse.de, oleg@redhat.com, mingo@redhat.com, minchan@kernel.org, kamezawa.hiroyu@jp.fujitsu.com, viro@zeniv.linux.org.uk, laijs@cn.fujitsu.com, dave@stgolabs.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC][PATCH 3/6] mm: VMA sequence count Message-ID: <20141022134416.GA15602@worktop.programming.kicks-ass.net> References: <20141020215633.717315139@infradead.org> <20141020222841.361741939@infradead.org> <20141022112657.GG30588@node.dhcp.inet.fi> <20141022113951.GB21513@worktop.programming.kicks-ass.net> <20141022115304.GA31486@node.dhcp.inet.fi> <20141022121554.GD21513@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141022121554.GD21513@worktop.programming.kicks-ass.net> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 22, 2014 at 02:15:54PM +0200, Peter Zijlstra wrote: > On Wed, Oct 22, 2014 at 02:53:04PM +0300, Kirill A. Shutemov wrote: > > Em, no. In this case change_protection() will not touch the pte, since > > it's pte_none() and the pte_same() check will pass just fine. > > Oh, that's what you meant. Yes that's a problem, yes vm_page_prot > needs wrapping too. Maybe also vm_policy, is there anything else that can change while a vma lives?