The patch titled Subject: mm: BUG when __kmap_atomic_idx equals KM_TYPE_NR has been removed from the -mm tree. Its filename was mm-bug-when-__kmap_atomic_idx-equals-km_type_nr.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Chintan Pandya <cpandya@xxxxxxxxxxxxxx> Subject: mm: BUG when __kmap_atomic_idx equals KM_TYPE_NR __kmap_atomic_idx is per_cpu variable. Each CPU can use KM_TYPE_NR entries from FIXMAP i.e. from 0 to KM_TYPE_NR - 1. Allowing __kmap_atomic_idx to over- shoot to KM_TYPE_NR can mess up with next CPU's 0th entry which is a bug. Hence BUG_ON if __kmap_atomic_idx >= KM_TYPE_NR. Fix the off-by-on in this test. Signed-off-by: Chintan Pandya <cpandya@xxxxxxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/highmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/highmem.h~mm-bug-when-__kmap_atomic_idx-equals-km_type_nr include/linux/highmem.h --- a/include/linux/highmem.h~mm-bug-when-__kmap_atomic_idx-equals-km_type_nr +++ a/include/linux/highmem.h @@ -93,7 +93,7 @@ static inline int kmap_atomic_idx_push(v #ifdef CONFIG_DEBUG_HIGHMEM WARN_ON_ONCE(in_irq() && !irqs_disabled()); - BUG_ON(idx > KM_TYPE_NR); + BUG_ON(idx >= KM_TYPE_NR); #endif return idx; } _ Patches currently in -mm which might be from cpandya@xxxxxxxxxxxxxx are origin.patch timer-provide-an-api-for-deferrable-timeout.patch ksm-provide-support-to-use-deferrable-timers-for-scanner-thread.patch ksm-provide-support-to-use-deferrable-timers-for-scanner-thread-fix.patch ksm-provide-support-to-use-deferrable-timers-for-scanner-thread-fix-fix-2.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