linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/9] vmalloc fixes and improvements
@ 2008-11-08  2:15 npiggin
  2008-11-08  2:15 ` [patch 1/9] mm: vmalloc allocator off by one npiggin
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: npiggin @ 2008-11-08  2:15 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: linux-mm, glommer, rjw

Hi,

The following patches are a set of fixes and improvements for the vmap
layer.

Patches 1-3 fix "[Bug #11903] regression: vmalloc easily fail", and these
should go upstream for 2.6.28. They've been tested and shown to fix the
problem, and I've tested them here on my XFS stress test as well. The
off-by-one bug, I tested and verified in a userspace test harness (it
doesn't actually cause any corruption, but just suboptimal use of space).

Patches 4,5 are improvements to information exported to user. Not very risky,
but not urgent either.

Patches 6-9 improve locking, guard page scheme, put guard pages under
CONFIG_DEBUG_PAGEALLOC, and add a non-lazy-flush mode for
CONFIG_DEBUG_PAGEALLOC to catch use-after-free better. These are more
intrusive improvements. I'd like to see them merged, but they can happily
wait for next merge window.

Andrew, it's probably best if you take care of sending these upstream?

Thanks,
Nick
 
-- 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-11-09  2:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-08  2:15 [patch 0/9] vmalloc fixes and improvements npiggin
2008-11-08  2:15 ` [patch 1/9] mm: vmalloc allocator off by one npiggin
2008-11-08  2:15 ` [patch 2/9] mm: vmalloc failure flush fix npiggin
2008-11-08  2:15 ` [patch 3/9] mm: vmalloc search restart fix npiggin
2008-11-08  2:15 ` [patch 4/9] mm: vmalloc tweak failure printk npiggin
2008-11-08  2:15 ` [patch 5/9] mm: vmalloc improve vmallocinfo npiggin
2008-11-08  2:15 ` [patch 6/9] mm: vmalloc guard fix npiggin
2008-11-08  2:15 ` [patch 7/9] mm: vmalloc use mutex for purge npiggin
2008-11-08  2:15 ` [patch 8/9] mm: vmalloc make guard configurable npiggin
2008-11-08  2:15 ` [patch 9/9] mm: vmalloc make lazy unmapping configurable npiggin
2008-11-08  5:13 ` [patch 0/9] vmalloc fixes and improvements Linus Torvalds
2008-11-08  5:41   ` Nick Piggin
2008-11-08 15:00     ` Johannes Weiner
2008-11-09  2:15       ` Nick Piggin
2008-11-08 17:37     ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox