Files
linux/mm
Cliff Wickman 9809892e2c mm, x86: Saving vmcore with non-lazy freeing of vmas
commit 3ee48b6af4 upstream.

During the reading of /proc/vmcore the kernel is doing
ioremap()/iounmap() repeatedly. And the buildup of un-flushed
vm_area_struct's is causing a great deal of overhead. (rb_next()
is chewing up most of that time).

This solution is to provide function set_iounmap_nonlazy(). It
causes a subsequent call to iounmap() to immediately purge the
vma area (with try_purge_vmap_area_lazy()).

With this patch we have seen the time for writing a 250MB
compressed dump drop from 71 seconds to 44 seconds.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: kexec@lists.infradead.org
LKML-Reference: <E1OwHZ4-0005WK-Tw@eag09.americas.sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-22 10:47:31 -08:00
..
2009-04-01 08:59:13 -07:00
2010-07-05 11:10:42 -07:00
2009-06-16 19:47:28 -07:00
2010-01-06 15:05:22 -08:00
2010-01-06 15:05:22 -08:00
2010-05-12 14:57:00 -07:00
2010-04-01 15:58:27 -07:00
2009-09-22 07:17:35 -07:00
2010-10-28 21:44:18 -07:00
2010-09-26 17:21:34 -07:00
2010-01-18 10:19:11 -08:00
2010-08-26 16:41:44 -07:00
2010-09-26 17:21:27 -07:00
2007-10-20 01:27:18 +02:00
2009-10-01 16:11:12 -07:00
2010-08-26 16:41:46 -07:00
2009-06-23 12:50:05 -07:00
2010-01-22 15:18:41 -08:00
2010-01-18 10:19:11 -08:00