Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbdCSUKI (ORCPT ); Sun, 19 Mar 2017 16:10:08 -0400 Received: from outbound-smtp02.blacknight.com ([81.17.249.8]:46340 "EHLO outbound-smtp02.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752131AbdCSUKG (ORCPT ); Sun, 19 Mar 2017 16:10:06 -0400 Date: Sun, 19 Mar 2017 20:09:42 +0000 From: Mel Gorman To: J?r?me Glisse Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, John Hubbard , Naoya Horiguchi , David Nellans , Evgeny Baskakov , Mark Hairgrove , Sherry Cheung , Subhash Gutti Subject: Re: [HMM 11/16] mm/hmm/mirror: helper to snapshot CPU page table v2 Message-ID: <20170319200942.GI2774@techsingularity.net> References: <1489680335-6594-1-git-send-email-jglisse@redhat.com> <1489680335-6594-12-git-send-email-jglisse@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1489680335-6594-12-git-send-email-jglisse@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 414 Lines: 11 On Thu, Mar 16, 2017 at 12:05:30PM -0400, J?r?me Glisse wrote: > This does not use existing page table walker because we want to share > same code for our page fault handler. > > Changes since v1: > - Use spinlock instead of rcu synchronized list traversal > Didn't look too closely here because pagetable walking code tends to have few surprises but presumably there will be some 5-level page table updates.