qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1720969] [NEW] qemu/memory.c:206: pointless copies of


From: dcb
Subject: [Qemu-devel] [Bug 1720969] [NEW] qemu/memory.c:206: pointless copies of large structs ?
Date: Tue, 03 Oct 2017 08:28:27 -0000

Public bug reported:

[qemu/memory.c:206]: (performance) Function parameter 'a' should be passed by 
reference.
[qemu/memory.c:207]: (performance) Function parameter 'b' should be passed by 
reference.

Source code is

static bool memory_region_ioeventfd_equal(MemoryRegionIoeventfd a,
                                          MemoryRegionIoeventfd b)

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1720969

Title:
  qemu/memory.c:206:  pointless copies of large structs ?

Status in QEMU:
  New

Bug description:
  [qemu/memory.c:206]: (performance) Function parameter 'a' should be passed by 
reference.
  [qemu/memory.c:207]: (performance) Function parameter 'b' should be passed by 
reference.

  Source code is

  static bool memory_region_ioeventfd_equal(MemoryRegionIoeventfd a,
                                            MemoryRegionIoeventfd b)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1720969/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]