From nobody Tue Jul 30 15:17:17 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 4WYJk93D4gz5RPjs for ; Tue, 30 Jul 2024 15:17:21 +0000 (UTC) (envelope-from SRS0=rmLG=O6=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYJk910d7z3xY3; Tue, 30 Jul 2024 15:17:20 +0000 (UTC) (envelope-from SRS0=rmLG=O6=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 271F8D7891; Tue, 30 Jul 2024 17:17:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1722352638; bh=LkDWvbubwJh0BEsbpCFiTW+IWy3kW6YuyE03l9TPTcI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=ucrjk89OjmNl4y/3tLeG4z8LlujkAG44wxZEAYyuF3Le401Z0zT+7QpsGwqS1ftZs o/gIAEaOGzoCzvXt4Tmavycc28E04XJVEkW45cSeoG1E2PFrLnG/x/9OET2/Y8uyMt dNRA6ChtmcNBdZgPZxZmDaB6cweXfEPgBGvfvvr4= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 50D36D78C1; Tue, 30 Jul 2024 17:17:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1722352637; bh=LkDWvbubwJh0BEsbpCFiTW+IWy3kW6YuyE03l9TPTcI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=sFPHMbBQ0mdcg+w+a1yF4v68OaHTuqoOt/8JSA+KbDjgmymG4s25zewWFwvyY/DRi w8TT2aUlZshV8HnpdzQLIAfe3LM2rEd3D6fUwYBaDXd0aiuK3X1NR3WH3X3tsYUgrp UZ2tMdDvgR4I5YRJTARPszb0LHcZ2zul0DpMMf4o= Message-ID: Date: Tue, 30 Jul 2024 17:17:17 +0200 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 User-Agent: Mozilla Thunderbird Subject: Re: filemon To: Warner Losh Cc: =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= , FreeBSD Current References: <20240727170122.675f6bfe@ernst.home> <865xsn6ya9.fsf@ltc.des.dev> Content-Language: en-US From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4WYJk910d7z3xY3 On 30/07/2024 16:30, Warner Losh wrote: [..] > Does this also apply today? I recently read from someone on a mailing > list that the kld_list in rc.conf is no longer needed, that any > problems > it used to solve are solved, and that the preferred way is to load > everything from loader.conf. So I'm curious, what's the right thing to > do then? (I load most of my modules from rc.conf) > > > Either or for filemon. Either rc.conf's kld_list or loader.conf's > filemon_load=YES. I've been recommending loader.conf since there's > slightly less memory fragmentation, but even that effect is small. Only > drm kmod has to be in kld_list. 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? Kind regards Miroslav Lachman