From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755853Ab1LEKW7 (ORCPT ); Mon, 5 Dec 2011 05:22:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47599 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755568Ab1LEKW6 (ORCPT ); Mon, 5 Dec 2011 05:22:58 -0500 Message-ID: <4EDC9B7D.9080209@redhat.com> Date: Mon, 05 Dec 2011 12:22:53 +0200 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: Gleb Natapov CC: Liu ping fan , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, aliguori@us.ibm.com, jan.kiszka@web.de Subject: Re: [PATCH] kvm: make vcpu life cycle separated from kvm instance References: <4ED212A1.3060300@redhat.com> <1322807192-14147-1-git-send-email-kernelfans@gmail.com> <4EDB4A0D.1000609@redhat.com> <4EDC8F4B.7040308@redhat.com> <20111205094240.GE12507@redhat.com> <4EDC95E0.20503@redhat.com> <20111205101842.GH12507@redhat.com> In-Reply-To: <20111205101842.GH12507@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/05/2011 12:18 PM, Gleb Natapov wrote: > > > > We can, but that's a bigger change. > > > Is it? I do not see a lot of accesses to vcpu array except those loops. > Well actually some of those loops have to go away and be replaced by a hash lookup with apic id as key. -- error compiling committee.c: too many arguments to function