commit | 368a5fa1f28589e6b54588a139ea872d5b4b1914 | [log] [tgz] |
---|---|---|
author | Hua Zhong <hzhong@gmail.com> | Fri Jun 23 02:05:42 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jun 23 07:43:06 2006 -0700 |
tree | 346923893f4814dffb51049f92f81c327374e60c | |
parent | 0216bfcffe424a5473daa4da47440881b36c1f41 [diff] |
[PATCH] remove unlikely() in might_sleep_if() The likely() profiling tools show that __alloc_page() causes a lot of misses: ! 132 119193 __alloc_pages():mm/page_alloc.c@937 Because most __alloc_page() calls are not atomic. Signed-off-by: Hua Zhong <hzhong@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>