The patch titled remove unlikely() in might_sleep_if() has been removed from the -mm tree. Its filename is remove-unlikely-in-might_sleep_if.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: remove unlikely() in might_sleep_if() From: Hua Zhong <hzhong@xxxxxxxxx> 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@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/kernel.h~remove-unlikely-in-might_sleep_if include/linux/kernel.h --- a/include/linux/kernel.h~remove-unlikely-in-might_sleep_if +++ a/include/linux/kernel.h @@ -78,7 +78,7 @@ extern int cond_resched(void); # define might_sleep() do { might_resched(); } while (0) #endif -#define might_sleep_if(cond) do { if (unlikely(cond)) might_sleep(); } while (0) +#define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) #define abs(x) ({ \ int __x = (x); \ _ Patches currently in -mm which might be from hzhong@xxxxxxxxx are origin.patch ide-error-handling-fixes.patch profile-likely-unlikely-macros.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html