[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling vm_object_deactivate_pages for each vm_object_deallocate kil
Re: Calling vm_object_deactivate_pages for each vm_object_deallocate kills performance.
Fri, 7 Oct 2011 20:58:28 +0200
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)
Sergio López, le Fri 23 Sep 2011 00:17:10 +0200, a écrit :
> Perhaps a simple flag in the object indicating if some of its pages
> have been activated, and a change in vm_page_activate to turn on that
> flag, would be enough to save a significant number of cycles.
> Better ideas?
Perhaps vm_object_deactivate_pages should at least keep the
vm_page_queue_lock for more than just one iteration. XNU does it for 64
Otherwise, it looks to me like a simple and sensible optimization.
- Re: Calling vm_object_deactivate_pages for each vm_object_deallocate kills performance.,
Samuel Thibault <=