From: mpi Date: Sun, 18 Aug 2024 08:01:03 +0000 (+0000) Subject: Remove outdated comment about UVM_PLA_WAITOK and the pagedaemon. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d63ee5a87c670eda486479157b3eb31ef9376b78;p=openbsd Remove outdated comment about UVM_PLA_WAITOK and the pagedaemon. ok miod@, mlarkin@ --- diff --git a/sys/kern/subr_hibernate.c b/sys/kern/subr_hibernate.c index 5499969d33a..464bc48bab0 100644 --- a/sys/kern/subr_hibernate.c +++ b/sys/kern/subr_hibernate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_hibernate.c,v 1.141 2024/06/05 11:04:17 krw Exp $ */ +/* $OpenBSD: subr_hibernate.c,v 1.142 2024/08/18 08:01:03 mpi Exp $ */ /* * Copyright (c) 2011 Ariane van der Steldt @@ -470,10 +470,6 @@ uvm_pmr_alloc_pig(paddr_t *pa, psize_t sz, paddr_t piglet_pa) * Piglets are aligned. * * sz and align in bytes. - * - * The call will sleep for the pagedaemon to attempt to free memory. - * The pagedaemon may decide its not possible to free enough memory, causing - * the allocation to fail. */ int uvm_pmr_alloc_piglet(vaddr_t *va, paddr_t *pa, vsize_t sz, paddr_t align)