[GFS2] Reduce size of struct gdlm_lock
This patch removes the completion (which is rather large) from struct gdlm_lock in favour of using the wait_on_bit() functions. We don't need to add any extra fields to the structure to do this, so we save 32 bytes (on x86_64) per structure. This adds up to quite a lot when we may potentially have millions of these lock structures, Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com> Acked-by: NDavid Teigland <teigland@redhat.com>
Showing
想要评论请 注册 或 登录