Hi Bob, On Tue, Jun 16, 2020 at 7:19 PM Bob Peterson <[email protected]> wrote: > This patch simply cleans up some code to make it more readable by > using helper functions gfs2_glock_nq_init and dq_uninit instead of > doing things manually.
the more complicated call sequence [gfs2_holder_init ... gfs2_glock_nq ... gfs2_glock_dq ... gfs2_holder_uninit] produces better code than just [gfs2_glock_nq_init ... gfs2_glock_dq_uninit]. I wonder if there's a way to implement those primitives so that the compiler will automatically produce the better code? Andreas
