From nobody Mon Nov 04 15:56:46 2024 X-Original-To: dev-commits-src-all@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 4Xhx0v2Xqpz5cFN6; Mon, 04 Nov 2024 15:56:47 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xhx0t6YDWz4klK; Mon, 4 Nov 2024 15:56:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730735806; 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=D+1SEwLvZXjJ9GZQQpYunTmDVgbxSEAKb8BkbgoAM8I=; b=e+UkwqIgNDn1HPFpLOdpuFF5Pj4LmnjE1NyRd4jKlA0X0mAxO6k+OTufZsxqY1N4l75r+A Ce+I3hKS1Fbw119px3jc6vk8mNq9z3XAbPTJCT55TEYkXsD18JhT3lyBJtS/KCLvNQGZ0E 1+531oUrRDpXJXY/vLd3io1C/FkNPSO0qmTUvDRnBNZYq5SSsHjpEYlXbZv3Hl7OQB/UkN 4kR3pyNsikw2M/Y1JS/mFGxeTSrJs7kOKPKCCOis1IPlWtmQkwyvmRKqWFyd3UsbVhhcoT wRFicGcFJ8mNcXE8kIPL2QtVdhd33nj2FjF9CRY4bkh/rnvTpTuXOyy77FubWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730735806; 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=D+1SEwLvZXjJ9GZQQpYunTmDVgbxSEAKb8BkbgoAM8I=; b=WkzvJB30HPN0sGRpvg7YZQPPE6ed7Ot7fAKHn7GKfe/h7fNdQ/OaUYWFhtXwgVP8TM0ETv bWCHjCL5BKpFwyXWPje1NGfRJk+7OEgv2sk+tAKlboiAnYOT74tYWHiqzhDcfDr9OmlZtY SnX/hXvWvlTBhidS0VK0zXEFrjp8Nayyq1t7BIwgYmDxLUhw2YmpQ4pDEHxFdq4aOg0mSd 3a774kLzS+/aN1FAsO4wk2xIXvxVN6v0l4rCQd3G5dlN+wMe9XvD1m57gvAvwC0erg3WZY vA00Q/xgqRFc+Qs2DypaEcVMTpbvVooSEh2cMVSckXei5A6ToxwBbtfzdIgPag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730735806; a=rsa-sha256; cv=none; b=Mxi+aqqqHeAqY4fgTcaMzYcMvJ7xD41+uFmEiwJGLIZG9gPvFsFZLn4tGulMZ6FculdQFg mOt7olHpJv9wm4qrN7utTa+izqRqWc+OQMdZTpxIYDJ/vE7vulwA6Nc1SirCC+weCS2Q7F PlIfAQxdbspRZekiq5jOy1EOD9HLRmP5wd4TwFbwoknJYqJHUU8Sd0Fa+eh9rqdpOklL9d 2qyBdKn3oVgk8TmZswhZOlTHFTKzU5LKi7fOQIynmtNjoRiqyux+ydBZtaa89KalSFlg38 ujhmMeGDD7m4Rdxo4OH9l459ZJCHjHdhFT3teL5b5O09VZIVHz09t6+S0VhsFQ== 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 4Xhx0t69s4zfnC; Mon, 4 Nov 2024 15:56:46 +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 4A4FukIP072504; Mon, 4 Nov 2024 15:56:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4FukFJ072501; Mon, 4 Nov 2024 15:56:46 GMT (envelope-from git) Date: Mon, 4 Nov 2024 15:56:46 GMT Message-Id: <202411041556.4A4FukFJ072501@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 64e531624f2a - stable/14 - vmem.9: align lists + tag spdx List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 64e531624f2a5b3c4f4ad1a23420a6340227c073 Auto-Submitted: auto-generated The branch stable/14 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=64e531624f2a5b3c4f4ad1a23420a6340227c073 commit 64e531624f2a5b3c4f4ad1a23420a6340227c073 Author: Alexander Ziaee AuthorDate: 2024-10-08 21:48:35 +0000 Commit: Mitchell Horne CommitDate: 2024-11-04 15:56:24 +0000 vmem.9: align lists + tag spdx Reviewed by: mhorne MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/1456 (cherry picked from commit 5793008745115f9523f9de32cec3136cea2dd8d5) --- share/man/man9/vmem.9 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/share/man/man9/vmem.9 b/share/man/man9/vmem.9 index 31a82be88fd0..053aec856a78 100644 --- a/share/man/man9/vmem.9 +++ b/share/man/man9/vmem.9 @@ -1,3 +1,6 @@ +.\"- +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" $NetBSD: vmem.9,v 1.15 2013/01/29 22:02:17 wiz Exp $ .\" .\" Copyright (c)2006 YAMAMOTO Takashi, @@ -74,7 +77,7 @@ other than virtual memory. .\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .Fn vmem_create creates a new vmem arena. -.Bl -tag -width qcache_max +.Bl -tag -offset indent -width "qcache_max" .It Fa name The string to describe the vmem. .It Fa base @@ -117,7 +120,7 @@ wait flag. .\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .Fn vmem_xalloc allocates a resource from the arena. -.Bl -tag -width nocross +.Bl -tag -offset indent -width "qcache_max" .It Fa vm The arena which we allocate from. .It Fa size @@ -159,7 +162,7 @@ A bitwise OR of an allocation strategy and a .Xr malloc 9 wait flag. The allocation strategy is one of: -.Bl -tag -width indent +.Bl -tag -width "M_FIRSTFIT" .It Dv M_FIRSTFIT Prefer allocation performance. .It Dv M_BESTFIT @@ -182,7 +185,7 @@ overwrites it with the start address of the allocated span. frees resource allocated by .Fn vmem_xalloc to the arena. -.Bl -tag -width addr +.Bl -tag -offset indent -width "qcache_max" .It Fa vm The arena which we free to. .It Fa addr @@ -203,7 +206,7 @@ argument used for .\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .Fn vmem_alloc allocates a resource from the arena. -.Bl -tag -width flags +.Bl -tag -offset indent -width "qcache_max" .It Fa vm The arena which we allocate from. .It Fa size @@ -228,7 +231,7 @@ overwrites it with the start address of the allocated span. frees resource allocated by .Fn vmem_alloc to the arena. -.Bl -tag -width addr +.Bl -tag -offset indent -width "qcache_max" .It Fa vm The arena which we free to. .It Fa addr @@ -249,7 +252,7 @@ argument used for .\" ------------------------------------------------------------ .Fn vmem_destroy destroys a vmem arena. -.Bl -tag -width vm +.Bl -tag -offset indent -width "qcache_max" .It Fa vm The vmem arena being destroyed. The caller should ensure that no one will use it anymore.