]> git.baikalelectronics.ru Git - kernel.git/commit
mm: vmap fix overflow
authorNick Piggin <npiggin@suse.de>
Fri, 27 Feb 2009 22:03:03 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Feb 2009 00:26:21 +0000 (16:26 -0800)
commitbe9d5e905fe7469d9a5b16e766608a8302c8a737
tree615ebb34f392c882cc0b72e2958249a2f9f0ee19
parent7ee60337e99e246249cb0157ca07cf3138442323
mm: vmap fix overflow

The new vmap allocator can wrap the address and get confused in the case
of large allocations or VMALLOC_END near the end of address space.

Problem reported by Christoph Hellwig on a 32-bit XFS workload.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Reported-by: Christoph Hellwig <hch@lst.de>
Cc: <stable@kernel.org> [2.6.28.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c