qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 00/11] structure hole removal


From: Blue Swirl
Subject: [Qemu-devel] [PATCH 00/11] structure hole removal
Date: Sun, 7 Aug 2011 20:56:13 +0000

I discovered the excellent tool pahole, which shows structure holes
resulting from suboptimal structure field order.

In this patch set, Sparc device structure fields are arranged so that
holes are avoided on amd64 host. I checked that on i386 build, no new
holes appeared.

Blue Swirl (11):
  slavio_timer: avoid structure holes spotted by pahole
  slavio_misc: avoid structure holes spotted by pahole
  slavio_intctl: avoid structure holes spotted by pahole
  sun4m_iommu: avoid structure holes spotted by pahole
  tcx: avoid structure holes spotted by pahole
  sun4m: avoid structure holes spotted by pahole
  esp: avoid structure holes spotted by pahole
  pcnet: avoid structure holes spotted by pahole
  fdc: avoid structure holes spotted by pahole
  escc: avoid structure holes spotted by pahole
  m48t59: avoid structure holes spotted by pahole

 hw/escc.c          |    9 +++++----
 hw/esp.c           |   11 ++++++-----
 hw/fdc.c           |   18 +++++++++---------
 hw/m48t59.c        |    9 +++++----
 hw/pcnet.h         |    6 +++---
 hw/slavio_intctl.c |    8 ++++----
 hw/slavio_misc.c   |    2 +-
 hw/slavio_timer.c  |    6 +++---
 hw/sun4m.c         |   20 ++++++++++----------
 hw/sun4m_iommu.c   |    2 +-
 hw/tcx.c           |    4 ++--
 11 files changed, 49 insertions(+), 46 deletions(-)



reply via email to

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