From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7HO3-0006xO-Lj for qemu-devel@nongnu.org; Mon, 12 Mar 2012 22:22:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7HO1-00060S-Ra for qemu-devel@nongnu.org; Mon, 12 Mar 2012 22:22:55 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:44771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7HO1-00060F-Ml for qemu-devel@nongnu.org; Mon, 12 Mar 2012 22:22:53 -0400 Received: by yhoo21 with SMTP id o21so65542yho.4 for ; Mon, 12 Mar 2012 19:22:52 -0700 (PDT) Message-ID: <4F5EAF78.10107@codemonkey.ws> Date: Mon, 12 Mar 2012 21:22:48 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <4F5E0378.9080705@redhat.com> In-Reply-To: <4F5E0378.9080705@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL] Removal of cpu_register_io_memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel On 03/12/2012 09:08 AM, Avi Kivity wrote: > The memory core now has double indirection during dma or kvm I/O > dispatch: first we lookup a MemoryRegionSection from the memory page > table, then we look up the ram_addr to dispatch the I/O operation. > > This patchset eliminates the second lookup. To do that, we now store a > MemoryRegionSection index in the iotlb instead of a ram_addr. > > The patches were posted on the list a few days ago and received no > negative (or positive) review, and testing with the qemu images seems to > work fine. > > Please pull from: > > git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/core Pulled. Thanks. Regards, Anthony Liguori > > > ---------------------------------------------------------------- > Avi Kivity (5): > memory: make phys_page_find() return an unadjusted section > memory: store section indices in iotlb instead of io indices > exec: fix code tlb entry misused as iotlb in get_page_addr_code() > memory: dispatch directly via MemoryRegion > memory: get rid of cpu_register_io_memory() > > cpu-all.h | 8 - > exec-all.h | 9 +- > exec-obsolete.h | 3 - > exec.c | 362 > ++++++++++++++++++++-------------------------------- > memory.c | 13 +- > softmmu_template.h | 40 +++--- > 6 files changed, 168 insertions(+), 267 deletions(-) >