From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by kanga.kvack.org (Postfix) with ESMTP id 5DE826B0035 for ; Sun, 22 Jun 2014 21:47:32 -0400 (EDT) Received: by mail-pb0-f41.google.com with SMTP id ma3so5251319pbc.0 for ; Sun, 22 Jun 2014 18:47:32 -0700 (PDT) Received: from heian.cn.fujitsu.com ([59.151.112.132]) by mx.google.com with ESMTP id tn5si19669647pac.145.2014.06.22.18.47.30 for ; Sun, 22 Jun 2014 18:47:31 -0700 (PDT) Message-ID: <53A78770.7080108@cn.fujitsu.com> Date: Mon, 23 Jun 2014 09:48:32 +0800 From: Tang Chen MIME-Version: 1.0 Subject: Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm. References: <1403070600-6083-1-git-send-email-tangchen@cn.fujitsu.com> <20140618061230.GA10948@minantech.com> <53A136C4.5070206@cn.fujitsu.com> <20140619092031.GA429@minantech.com> <20140619190024.GA3887@amt.cnet> <20140620111509.GE20764@minantech.com> <20140620125326.GA22283@amt.cnet> <20140620142622.GA28698@minantech.com> <20140620203146.GA6580@amt.cnet> <20140620203903.GA7838@amt.cnet> In-Reply-To: <20140620203903.GA7838@amt.cnet> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Marcelo Tosatti Cc: Gleb Natapov , pbonzini@redhat.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, mgorman@suse.de, yinghai@kernel.org, isimatu.yasuaki@jp.fujitsu.com, guz.fnst@cn.fujitsu.com, laijs@cn.fujitsu.com, kvm@vger.kernel.org, linux-mm@kvack.org, x86@kernel.org, linux-kernel@vger.kernel.org, Avi Kivity , Tang Chen Hi Marcelo, Gleb, Sorry for the delayed reply and thanks for the advices. On 06/21/2014 04:39 AM, Marcelo Tosatti wrote: > On Fri, Jun 20, 2014 at 05:31:46PM -0300, Marcelo Tosatti wrote: >>> IIRC your shadow page pinning patch series support flushing of ptes >>> by mmu notifier by forcing MMU reload and, as a result, faulting in of >>> pinned pages during next entry. Your patch series does not pin pages >>> by elevating their page count. >> >> No but PEBS series does and its required to stop swap-out >> of the page. > > Well actually no because of mmu notifiers. > > Tang, can you implement mmu notifiers for the other breaker of > mem hotplug ? I'll try the mmu notifier idea and send a patch soon. Thanks. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org