1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Completed the fix for attempting to page out pages via the device_pager.

Submitted by:	John Dyson
This commit is contained in:
David Greenman 1995-01-28 02:02:25 +00:00
parent 3bd0d9a279
commit 8f895206ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5973

View File

@ -65,7 +65,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: vm_pageout.c,v 1.30 1995/01/10 07:32:49 davidg Exp $
* $Id: vm_pageout.c,v 1.31 1995/01/24 10:13:58 davidg Exp $
*/
/*
@ -337,6 +337,9 @@ vm_pageout_object_deactivate_pages(map, object, count, map_remove_only)
if (count == 0)
count = 1;
if (object->pager && (object->pager->pg_type == PG_DEVICE))
return 0;
if (object->shadow) {
if (object->shadow->ref_count == 1)
dcount += vm_pageout_object_deactivate_pages(map, object->shadow, count / 2 + 1, map_remove_only);