aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2012-06-02 23:29:43 +0000
committerAlasdair G Kergon <[email protected]>2012-06-02 23:29:43 +0000
commit1fbdd2b3a3cf77f77b0cdf25dd969241ea2c0ce1 (patch)
tree935f78f27afba09ec1784f5bac96454b43ed718a /lib/spinlock_debug.c
parentLinux 3.4 (diff)
downloadkernel-1fbdd2b3a3cf77f77b0cdf25dd969241ea2c0ce1.tar.gz
kernel-1fbdd2b3a3cf77f77b0cdf25dd969241ea2c0ce1.zip
dm mpath: reduce size of struct multipath
Move multipath structure's 'lock' and 'queue_size' members to eliminate two 4-byte holes. Also use a bit within a single unsigned int for each existing flag (saves 8-bytes). This allows future flags to be added without each consuming an unsigned int. Signed-off-by: Mike Snitzer <[email protected]> Acked-by: Hannes Reinecke <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions