diff --git a/[refs] b/[refs] index 9e0a14031e31..54cd66b3d9ff 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9c4801cebc2add1fe514bc8eb201b16372eee11a +refs/heads/master: 6fb43d7b50e49a36f8be3199141bec473e5ecb00 diff --git a/trunk/include/linux/sched.h b/trunk/include/linux/sched.h index 785ec8465bd3..cfb680585ab8 100644 --- a/trunk/include/linux/sched.h +++ b/trunk/include/linux/sched.h @@ -1514,7 +1514,7 @@ extern struct mm_struct * mm_alloc(void); extern void FASTCALL(__mmdrop(struct mm_struct *)); static inline void mmdrop(struct mm_struct * mm) { - if (atomic_dec_and_test(&mm->mm_count)) + if (unlikely(atomic_dec_and_test(&mm->mm_count))) __mmdrop(mm); }