Commit 73e9ffdd authored by Richard Kennedy's avatar Richard Kennedy Committed by Jens Axboe

cfq: remove 8 bytes of padding from cfq_rb_root on 64 bit builds

Reorder cfq_rb_root to remove 8 bytes of padding on 64 bit builds.

Consequently removing 56 bytes from cfq_group and 64 bytes from
cfq_data.
Signed-off-by: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 91f63d0e
...@@ -78,11 +78,12 @@ struct cfq_rb_root { ...@@ -78,11 +78,12 @@ struct cfq_rb_root {
struct rb_root rb; struct rb_root rb;
struct rb_node *left; struct rb_node *left;
unsigned count; unsigned count;
unsigned total_weight;
u64 min_vdisktime; u64 min_vdisktime;
struct rb_node *active; struct rb_node *active;
unsigned total_weight;
}; };
#define CFQ_RB_ROOT (struct cfq_rb_root) { RB_ROOT, NULL, 0, 0, } #define CFQ_RB_ROOT (struct cfq_rb_root) { .rb = RB_ROOT, .left = NULL, \
.count = 0, .min_vdisktime = 0, }
/* /*
* Per process-grouping structure * Per process-grouping structure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment