vm_daemon() looks at pmap->pm_stats.resident_count in the pmap structure using vmspace_resident_count() which calls pmap_resident_count(), pm_stats.resident_count is also incremented for device memory either if the device memory has been mapped using pmap_object_init_pt or using pmap_enter. Since these pages do not belong to memory that is managed by the kernel, they should not really be accounted in the if check below in vm_pageout.c ?
if (limit >= 0 && size >= limit) { 1593 vm_pageout_map_deactivate_pages( 1594 &p->p_vmspace->vm_map, limit); 1595 } Is my understanding correct ? What do the members of this list think ? Thanks, Nikhil _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"