Skip to contentSkip to conversation

dm: reorder dm_io to remove padding on 64 bit builds

PATCH New Richard Kennedy 1 participant 1 message Jun 9, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm: reorder dm_io to remove padding on 64 bit builds

shrinks size from 40 -> 32 allowing more objects/slab

---

This change looks safe AFAICT, but I have not tested it other than compiling it.
Compiled on 2.6.26-rc5 AMD64.
HTH
Richard

drivers/md/dm.c +1 -1
index 372369b..efe9690 100644
@@ -37,8 +37,8 @@ static DEFINE_SPINLOCK(_minor_lock);
 struct dm_io {
 	struct mapped_device *md;
 	int error;
-	struct bio *bio;
 	atomic_t io_count;
+	struct bio *bio;
 	unsigned long start_time;
 };