]> err.no Git - linux-2.6/commit
JFS: performance patch
authorSonny Rao <sonny@burdell.org>
Thu, 23 Jun 2005 21:57:56 +0000 (16:57 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Thu, 23 Jun 2005 21:57:56 +0000 (16:57 -0500)
commitf5f287738bddf38ec9ca79344f00dab675e1bbf5
treec8144a3906f6904f7cf18c4520976c79a1e15b0a
parenta8ad86f2dc46356f87be1327dabc18bdbda32f50
JFS: performance patch

Basically, we saw a large amount of time spent in the
jfs_strfromUCS_le() function, mispredicting the branch inside the
loop, so I just added some unlikely modifiers to the if statements to
re-ordered the code.  Again, these simple changes provided > 2 % on
spec-sfs, so please consider it for inclusion.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_unicode.c