Files
linux-kernel-test/arch/x86/kernel
Cliff Wickman 3ee48b6af4 mm, x86: Saving vmcore with non-lazy freeing of vmas
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
Cc: <stable@kernel.org>
LKML-Reference: <E1OwHZ4-0005WK-Tw@eag09.americas.sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-09-17 09:11:56 +02:00
..
2010-08-20 10:18:28 +02:00
2010-07-19 10:56:54 +02:00
2010-07-21 11:33:27 -07:00
2009-07-19 18:27:51 +02:00
2010-02-07 17:47:51 +01:00
2010-06-16 18:05:05 +02:00
2010-07-21 21:23:51 -07:00
2010-07-30 18:02:21 -07:00
2009-12-09 16:28:59 -08:00
2010-03-26 11:33:57 +01:00
2010-02-16 18:21:32 +01:00
2010-08-01 09:18:41 +02:00
2010-08-05 08:45:05 +02:00
2010-07-21 21:23:40 -07:00