diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-12 18:24:52 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-15 13:08:49 +0200 |
commit | a9462a58ab1cbc0812715038539fbd96a8c0e2fe (patch) | |
tree | d207bd885381b6f8f0f275a425c5129545adaaa3 /vm | |
parent | b7e24c71c4ac5fd686e0860c853abc85a4513199 (diff) |
remove calls to vm_page_init, they are actually hurting here
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_resident.c | 8 |
1 files changed, 0 insertions, 8 deletions
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); } } |