Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753693Ab2KKTWg (ORCPT ); Sun, 11 Nov 2012 14:22:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59879 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753320Ab2KKTWf (ORCPT ); Sun, 11 Nov 2012 14:22:35 -0500 Date: Sun, 11 Nov 2012 17:22:07 -0200 From: Rafael Aquini To: "Michael S. Tsirkin" Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Rusty Russell , Rik van Riel , Mel Gorman , Andi Kleen , Andrew Morton , Konrad Rzeszutek Wilk , Minchan Kim , Peter Zijlstra , "Paul E. McKenney" Subject: Re: [PATCH v11 7/7] mm: add vm event counters for balloon pages compaction Message-ID: <20121111192206.GB4290@x61.redhat.com> References: <8dde7996f3e36a5efbe569afe1aadfc84355e79e.1352256088.git.aquini@redhat.com> <20121110155538.GC13846@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121110155538.GC13846@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 628 Lines: 20 On Sat, Nov 10, 2012 at 05:55:38PM +0200, Michael S. Tsirkin wrote: > > mutex_unlock(&vb->balloon_lock); > > + balloon_event_count(COMPACTBALLOONMIGRATED); > > > > return MIGRATEPAGE_BALLOON_SUCCESS; > > } > > Looks like any ballon would need to do this. > Can this chunk go into caller instead? > Good catch. It's done, already (v12 just hit the wild). Thanks! -- Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/