From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754300Ab2HXIDB (ORCPT ); Fri, 24 Aug 2012 04:03:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24937 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308Ab2HXICx (ORCPT ); Fri, 24 Aug 2012 04:02:53 -0400 Date: Fri, 24 Aug 2012 11:03:27 +0300 From: "Michael S. Tsirkin" To: Rik van Riel Cc: Rafael Aquini , "Paul E. McKenney" , Peter Zijlstra , linux-mm@kvack.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Rusty Russell , Mel Gorman , Andi Kleen , Andrew Morton , Konrad Rzeszutek Wilk , Minchan Kim Subject: Re: [PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility Message-ID: <20120824080327.GA7830@redhat.com> References: <20120823021903.GA23660@x61.redhat.com> <20120823100107.GA17409@redhat.com> <20120823121338.GA3062@t510.redhat.com> <20120823123432.GA25659@redhat.com> <20120823130606.GB3746@t510.redhat.com> <20120823135328.GB25709@redhat.com> <20120823162504.GA1522@redhat.com> <20120823172844.GC10777@t510.redhat.com> <20120823233616.GB2775@redhat.com> <5036F111.4040607@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5036F111.4040607@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 23, 2012 at 11:12:17PM -0400, Rik van Riel wrote: > On 08/23/2012 07:36 PM, Michael S. Tsirkin wrote: > > >---> > > > >virtio-balloon: replace page->lru list with page->private. > > > >The point is to free up page->lru for use by compaction. > >Warning: completely untested, will provide tested version > >if we agree on this direction. > > A singly linked list is not going to work for page migration, > which needs to get pages that might be in the middle of the > balloon list. For virtballoon_migratepage? Hmm I think you are right. I'll need to think it over but if we can think of no other way to avoid ther need to handle isolation in virtio, we'll just have to use the original plan and add balloon core to mm. > -- > All rights reversed