IB/uverbs: Pack struct ib_uverbs_event_file tighter
authorAlexander Chiang <achiang@hp.com>
Tue, 2 Feb 2010 19:08:14 +0000 (19:08 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 18:23:42 +0000 (10:23 -0800)
commit830a38713816fb1f0d05efc339bf41e91ac74379
treebb4df918400d0ef9d2be4c5af1529172ace3e582
parent6d6a0e71eec5886f2511632a38f28f1ed7794d70
IB/uverbs: Pack struct ib_uverbs_event_file tighter

Eliminate some padding in the structure by rearranging the members.
sizeof(struct ib_uverbs_event_file) is now 72 bytes (from 80) and
more members now fit in the first cacheline.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs.h