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)
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>

No differences found