From nobody Sun Sep 22 14:03:26 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XBSWz4JLHz5XVFy; Sun, 22 Sep 2024 14:03:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBSWz171lz4Vlg; Sun, 22 Sep 2024 14:03:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727013807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vGuDkawolO+Cj4aIul4HMAWPxPsoyw7KN4WjS8tPO8E=; b=JZ0RCI4Ze88iwRwppj7QMECFoJydC8Veg9yGuhDH6dgs2hvnnXTd1/4CIr6DyzvpU2Ns07 7AAj3z7wxzgMW66nNVS9lNyJmFlntmYwABNcymDDMkCReSfUPFBdVvNMaZeD2/NNrz720e irlzjspp77joxOHRDvuPRUknVl8bqHzT+PL6mxDpkTthGIoxpGPrF7enajpJp5zEjtsNsz CbKJ4DjoE1E1r0NmTC1hAfW/pK1q6wIG0zb5w5Rhb5gobmXDQ2ERSbVRiw4dpeNRFS4Aev ksF7viFDWJPWfupiavWtA7bw0D3//MjiewHF7SLk0doQzLvP8MThTND5n1DUSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727013807; a=rsa-sha256; cv=none; b=u7yF9kBOCE1xKH+ZSD4n10URnn+Q/kXGFr+t2xCSgEktton5KnCNuGxE4VkmRVrm9USUVr Md9p+UQg+DWHSYzfRygKCEVfAjiWcUAkyOVxPR2++REutVcrmqH/KM2auGhxmCGNQlF0Nr P+nnE6vIrmjCak24Qkcb5TkACa1KInOcmzw2TeG3e3aYnazMGnTHkG31GolIpO5m1FkH6T +i/8fkD4o66nu2gonICYwkqBahs6QI1CW3zjUZTRwCkLQiTaI1ZTnr0FHS+LK6KyKrujUv MySB6MiNATLrP5qBtVP+eABYcRwg1yqcgtTsBfChaIwujXnrNi+nPFHHRkMSMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727013807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vGuDkawolO+Cj4aIul4HMAWPxPsoyw7KN4WjS8tPO8E=; b=oRyXGthF4VUGRQPNBWF1hwiap29BOLUF73gSY6kFSKCjafMasVtcwirjZZa82eZR0k5AEu SLD3BGH9PlMFyeVOcoWuBCa/EzAj1YRkbaZP3drGLEezN91wQlyU349cb0Y1K3AHUaumNC IgCNa9FFNtsx9XHhr9/GraV5QooKVSLaI5bv6/FpQqLTEjKktBYzpGLttFxlpHCNIHg8pm FxfnM0MCEI4PGSK9x+CmxdchWidZiWQHVY6Q+T49cC0L29YucaMih6cHcECasmNeXFG5IH +gEz0Ijsg/c/GXtirricYG0FMjbeDPP1GBsqyedMNFrg26+vqXWgGAw951xtcQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XBSWz0kywz1K36; Sun, 22 Sep 2024 14:03:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48ME3RkE061955; Sun, 22 Sep 2024 14:03:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48ME3QIh061952; Sun, 22 Sep 2024 14:03:26 GMT (envelope-from git) Date: Sun, 22 Sep 2024 14:03:26 GMT Message-Id: <202409221403.48ME3QIh061952@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bojan =?utf-8?Q?Novkovi=C4=87?= Subject: git: 29a6f8fd93c2 - main - vm: Use VM_ALLOC_NOFREE when allocating bogus_page List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bnovkov X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29a6f8fd93c278f0c7d7b2248068bb0353027e4a Auto-Submitted: auto-generated The branch main has been updated by bnovkov: URL: https://cgit.FreeBSD.org/src/commit/?id=29a6f8fd93c278f0c7d7b2248068bb0353027e4a commit 29a6f8fd93c278f0c7d7b2248068bb0353027e4a Author: Bojan Novković AuthorDate: 2024-09-22 13:31:45 +0000 Commit: Bojan Novković CommitDate: 2024-09-22 14:02:53 +0000 vm: Use VM_ALLOC_NOFREE when allocating bogus_page Allocate the 'bogus_page' page using VM_ALLOC_NOFREE since it never gets released. Differential Revision: https://reviews.freebsd.org/D46699 Reviewed by: alc, markj, kib --- sys/vm/vm_page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index ba32a9eb9e63..40108e8a9b0a 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -194,7 +194,7 @@ vm_page_init(void *dummy) fakepg_zone = uma_zcreate("fakepg", sizeof(struct vm_page), NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE); - bogus_page = vm_page_alloc_noobj(VM_ALLOC_WIRED); + bogus_page = vm_page_alloc_noobj(VM_ALLOC_WIRED | VM_ALLOC_NOFREE); } static int pgcache_zone_max_pcpu;