diff options
Diffstat (limited to 'vm/vm_pageout.c')
-rw-r--r-- | vm/vm_pageout.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c index da0f8077..62a27f1a 100644 --- a/vm/vm_pageout.c +++ b/vm/vm_pageout.c @@ -259,6 +259,15 @@ vm_pageout_setup( vm_page_wire(m); } else { + /* + * The caller is telling us that this page belongs + * to an external object managed by the default pager. + * Wire it to avoid a deadlock on the default pager map. + */ + if (m->external_laundry) { + vm_page_wire(m); + } + m->external_laundry = TRUE; /* |