From a9462a58ab1cbc0812715038539fbd96a8c0e2fe Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 12 Aug 2015 18:24:52 +0200 Subject: remove calls to vm_page_init, they are actually hurting here --- vm/vm_resident.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'vm') diff --git a/vm/vm_resident.c b/vm/vm_resident.c index dc4388d..552b0d7 100644 --- a/vm/vm_resident.c +++ b/vm/vm_resident.c @@ -772,18 +772,10 @@ void vm_page_free( if (mem->absent) vm_object_absent_release(mem->object); - /* - * XXX The calls to vm_page_init here are - * really overkill. - */ - if (mem->private || mem->fictitious) { - vm_page_init(mem, vm_page_fictitious_addr); - mem->fictitious = TRUE; vm_page_release_fictitious(mem); } else { int external = mem->external && mem->extcounted; - vm_page_init(mem, mem->phys_addr); vm_page_release(mem, external); } } -- cgit v1.2.3