]> err.no Git - linux-2.6/commit
[PATCH] likely cleanup: remove unlikely in sys_mprotect()
authorHua Zhong <hzhong@gmail.com>
Fri, 23 Jun 2006 09:03:23 +0000 (02:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:49 +0000 (07:42 -0700)
commitb344e05c585406904c70865e531e02467c4c7931
tree5c9b9be9c35f5921e4796f1bafab810839765354
parentcfd9b7df4abd3257c9e381b0e445817b26a51c0c
[PATCH] likely cleanup: remove unlikely in sys_mprotect()

With likely/unlikely profiling on my not-so-busy-typical-developmentsystem
there are 5k misses vs 2k hits.  So I guess we should remove the unlikely.

Signed-off-by: Hua Zhong <hzhong@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mprotect.c