]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Speed up lock_dlm's locking (move sprintf)
authorSteven Whitehouse <swhiteho@redhat.com>
Sun, 18 Mar 2007 17:04:15 +0000 (17:04 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 1 May 2007 08:10:47 +0000 (09:10 +0100)
commitf35ac346bc48b2086aa94f031baf1f6237a89de6
tree52894d686dfff82914655e3fd32767f806b77d33
parent254da030dfb1b13d42d07e4292a4790d88c6874f
[GFS2] Speed up lock_dlm's locking (move sprintf)

The following patch speeds up lock_dlm's locking by moving the sprintf
out from the lock acquisition path and into the lock creation path. This
reduces the amount of CPU time used in acquiring locks by a fair amount.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: David Teigland <teigland@redhat.com>
fs/gfs2/locking/dlm/lock.c
fs/gfs2/locking/dlm/lock_dlm.h