The patch titled mm-vmap-fix-overflow-update has been removed from the -mm tree. Its filename was mm-vmap-fix-overflow-update.patch This patch was dropped because it was folded into mm-vmap-fix-overflow.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm-vmap-fix-overflow-update From: Nick Piggin <npiggin@xxxxxxx> Signed-off-by: Nick Piggin <npiggin@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmalloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN mm/vmalloc.c~mm-vmap-fix-overflow-update mm/vmalloc.c --- a/mm/vmalloc.c~mm-vmap-fix-overflow-update +++ a/mm/vmalloc.c @@ -324,6 +324,7 @@ static struct vmap_area *alloc_vmap_area unsigned long addr; int purged = 0; + BUG_ON(!size); BUG_ON(size & ~PAGE_MASK); va = kmalloc_node(sizeof(struct vmap_area), @@ -335,7 +336,7 @@ retry: addr = ALIGN(vstart, align); spin_lock(&vmap_area_lock); - if (addr + size < addr) + if (addr + size - 1 < addr) goto overflow; /* XXX: could have a last_hole cache */ @@ -369,7 +370,7 @@ retry: while (addr + size > first->va_start && addr + size <= vend) { addr = ALIGN(first->va_end + PAGE_SIZE, align); - if (addr + size < addr) + if (addr + size - 1 < addr) goto overflow; n = rb_next(&first->rb_node); _ Patches currently in -mm which might be from npiggin@xxxxxxx are mm-vmap-fix-overflow.patch mm-vmap-fix-overflow-update.patch mm-fix-lazy-vmap-purging-use-after-free-error.patch linux-next.patch vmap-remove-needless-lock-and-list-in-vmap.patch page_fault-retry-with-nopage_retry.patch page_fault-retry-with-nopage_retry-fix.patch radix-tree-gang-set-if-tagged-operation.patch mm-dont-call-mark_page_accessed-in-do_swap_page.patch mm-update_page_reclaim_stat-is-called-from-page-fault-path.patch mm-add-comment-why-mark_page_accessed-would-be-better-than-pte_mkyoung-in-follow_page.patch mm-add-comment-why-mark_page_accessed-would-be-better-than-pte_mkyoung-in-follow_page-fix.patch reiser4.patch fs-symlink-write_begin-allocation-context-fix-reiser4-fix.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