diff options
author | Hua Zhong <hzhong@gmail.com> | 2006-06-25 05:49:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:26 -0700 |
commit | f58a1ebb22f128fccfeafb2b18557c87741cd627 (patch) | |
tree | 02fc9331087b97f69f50ab3bc78ae1e9910aa6ec /lib/idr.c | |
parent | d84a84775bba661d5a3fd06757bbb419381937f3 (diff) | |
download | linux-f58a1ebb22f128fccfeafb2b18557c87741cd627.tar.bz2 |
[PATCH] remove unlikely(sb) in prune_dcache
likely profiling shows that the following is a miss.
After boot:
[+- ] Type | # True | # False | Function:Filename@Line
+unlikely | 1074| 0 prune_dcache()@:fs/dcache.c@409
After a bonnie++ run:
+unlikely | 66716| 19584 prune_dcache()@:fs/dcache.c@409
So remove it.
Signed-off-by: Hua Zhong <hzhong@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions