From: Hua Zhong Date: Fri, 23 Jun 2006 09:05:42 +0000 (-0700) Subject: [PATCH] remove unlikely() in might_sleep_if() X-Git-Tag: v2.6.18-rc1~1081^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368a5fa1f28589e6b54588a139ea872d5b4b1914;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed