From nobody Tue Jul 30 18:54:00 2024 X-Original-To: freebsd-current@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 4WYPXC147qz5RmT2 for ; Tue, 30 Jul 2024 18:54:03 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYPXB6WLDz4TTT; Tue, 30 Jul 2024 18:54:02 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722365642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k4FPvbGGriiCsrGrlT9SFFBlzoaFqJurFNCdEbGed9U=; b=MXB4vMroRP14WvB/kfkNN9mY9gaLNnWWpKrwTSRPjAKcw6ao+zNLCclQMk5RKkWUfi7Ojg d7tQm1RerjEdYNUDHAa0BcaxuimEAGffsAcaAaNLDje1G01aX4401Bj4PQc1oip10CYuGT 3L+MuvZU/wqJ8OfKjl/qcW0LPeHmyQgvj5yn1F3q1j9gl7HXarzv7FJw6QeB6DHkDzk9ZM D10zpm/45AMI7rQ7rQbE3FeC/Ghjaz7CoiXX9I1QPwKsmcFRU+xYMAnkmSTuS/tFwzb3oK UPRVj7U6ZBfHHJzbFeT9JOQq802bHmgMDkhDdk7Tb21PNYfp5vsXhMgSqX4B6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722365642; a=rsa-sha256; cv=none; b=n0tTh2hTwRPhAoN7gnpDK2j/vSrUTjqOxMwIFvYIDKUjp4saMbw5kIuM3+6MQsr2SQBdpK aYJP+CTIsCi0/89VCyUeznGc+LVOSl4tfYoCmF40TGN3fEUi7U9MmmgAR1VSJT2yAxNi/2 XNyrDI/aF7ZgEvW0DhB5G7qxvAVfAG+AZWrWc3ULaqdAruh4SZGe6pOgtYXCkk8LEKadUD JNetcSc2OWCpnGHmJ9X5f2tVj1rWz867saGyz6/czma+VHGw5U0jAwM+J2V4R935UmN9Im F3OVxBaW09Tp3zZITlWgkQL0kSgISZgy0KDsxuYvJJYtTwxJWl8CwCIloCsdNA== 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=1722365642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k4FPvbGGriiCsrGrlT9SFFBlzoaFqJurFNCdEbGed9U=; b=jJmp3zIK2BwvGrC5JfQoFEpFgWELmiQyvwoVxo5etYI4efbxKmHC6cwAickyywd0qOqawY oYpVusXGn+0iGXTwlnO9Avq/WOjGXXqqQuETtWaEug8Wgl3KffU3zc8lEUvlOpZgvWtAwz Sg5yh831wmcUNKQmKgSz5tE3o+bq/zvslER1aHfeWahOvuokaZRSIpCdej11Rd/2jshPzz eikfvfuJluFQEVLdR+YdOSGZnRoDzCGcMA/tjlCYpIo18D8XSN9NF1zH1p/peOurUY5d/X G5Kdqp+gLoF24LOsHgENXP/FkOKIMnA3aUCfz34lpWKuu7UGOQZz9x250TdDDA== Received: from ltc.des.dev (unknown [91.174.26.112]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WYPXB5XFzzVTy; Tue, 30 Jul 2024 18:54:02 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id DD7751F113; Tue, 30 Jul 2024 20:54:00 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Warner Losh , FreeBSD Current Subject: Re: filemon In-Reply-To: (Miroslav Lachman's message of "Tue, 30 Jul 2024 17:17:17 +0200") References: <20240727170122.675f6bfe@ernst.home> <865xsn6ya9.fsf@ltc.des.dev> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 30 Jul 2024 20:54:00 +0200 Message-ID: <86jzh26793.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Miroslav Lachman <000.fbsd@quip.cz> writes: > I'm a bit confused. If I understand it right, you say loader.conf > causes less memory fragmentation, but DES said "it still increases low > memory fragmentation". So what is true? And is this something to watch > out for, or is memory fragmentation not such a big deal? I used the wrong term. The loader loads the kernel and modules into a particular region of memory, while modules loaded after boot can go anywhere. Furthermore, modules loaded by the loader cannot be unloaded. So loading modules pre-boot does not increase fragmentation, but it uses up memory from a much more limited pool than loading them later. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org