Rusty Russell 71a3f4edc1 lguest: use get_user_pages_fast() instead of get_user_pages()
Using a simple page table thrashing program I measure a slight
improvement.  The program creates five processes.  Each touches 1000
pages then schedules the next process.  We repeat this 1000 times.  As
lguest only caches 4 cr3 values, this rebuilds a lot of shadow page
tables requiring virt->phys mappings.

	Before: 5.93 seconds
	After: 5.40 seconds

(Counts of slow vs fastpath in this usage are 6092 and 2852462 respectively.)

And more importantly for lguest, the code is simpler.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2008-08-12 17:52:53 +10:00
..
2008-07-24 10:47:41 -07:00
2008-07-25 10:53:49 -07:00
2008-07-25 10:53:30 -07:00
2008-08-08 19:18:18 +01:00
2008-08-10 23:32:07 +02:00
2008-08-09 11:15:13 -07:00
2008-07-26 12:00:11 -07:00
2008-08-04 12:51:06 +09:00
2008-08-11 10:29:11 -07:00
2008-07-30 10:10:22 +01:00