[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling vm_object_deactivate_pages for each vm_object_deallocate kil
From: |
Samuel Thibault |
Subject: |
Re: Calling vm_object_deactivate_pages for each vm_object_deallocate kills performance. |
Date: |
Tue, 27 Sep 2011 01:32:38 +0200 |
User-agent: |
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?
Check with some testcases whether that's often the case?
Samuel