From: Takuya Yoshikawa Subject: Re: [PATCH unit-tests] Add async page fault test Date: Wed, 9 May 2012 22:31:53 +0900 Message-ID: <20120509223153.8686018d3a3eeca3d0c5644f@gmail.com> References: <20120508112446.GB8988@redhat.com> <4FAA2AD7.7050109@redhat.com> <20120509084119.GP15960@redhat.com> <4FAA3059.2040105@redhat.com> <20120509085917.GR15960@redhat.com> <20120509221807.8d04edc62ad1986785109cf1@gmail.com> <4FAA6F17.1070308@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , kvm@vger.kernel.org, mtosatti@redhat.com To: Avi Kivity Return-path: Received: from mail-pz0-f46.google.com ([209.85.210.46]:64288 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757968Ab2EINb5 (ORCPT ); Wed, 9 May 2012 09:31:57 -0400 Received: by dady13 with SMTP id y13so313033dad.19 for ; Wed, 09 May 2012 06:31:57 -0700 (PDT) In-Reply-To: <4FAA6F17.1070308@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 09 May 2012 16:20:23 +0300 Avi Kivity wrote: > > zap_page_range() actually frees these pages, no? > > > > Virtio balloon seems to rely on this. > > > > The pages are removed from the user address space. But if they're not > anonymous, the pages still live in the page cache. Ah, about non-anonymous/file-backed case, I see. Thanks, Takuya