Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2025 17:39:29 +0200
From:      Olivier Certner <olce@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 73f9251c0b52 - main - Compute 'maxproc'/'maxfiles' from memory amount; Expand/fix comments
Message-ID:  <1892254.Rtz6emdoko@ravel>
In-Reply-To: <aCYEFxgDkRu1upik@kib.kiev.ua>
References:  <202505151423.54FENTXl057685@gitrepo.freebsd.org> <aCYEFxgDkRu1upik@kib.kiev.ua>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> Not all architectures have PAGE_SIZE of 4K.  Not going back to the historic
> arches, and out of tree patches for x86, I believe that arm64 has in-tree
> support for 16K pages.

imp@ alluded to that in the revision (https://reviews.freebsd.org/D50124) so, back then, I checked in-tree but could not find any hint anywhere (code, kernel configs) that PAGE_SIZE would actually be set to 16k in public configs, hence the commit message (with "unchanged for all architectures", I meant in fact unchanged for the official artifacts we build).

I see some support for PAGE_SIZE != PAGE_SIZE_4K.  For such experiments, this commit should certainly help.

-- 
Olivier Certner
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmgmCrEACgkQjKEwQJce
Jic0CQ//RyJuXps3VD2S/rnoXprQ0foPPag8RAvt18zVg+/MYINbkMoJa0REOCsV
MVmFJSFk/59GhpqNwZ846IUxX3OpOjnkFKS53pNfRP0cMzy02HYg2fC0XbeGrJay
xUW32czNDQjFxCSkKlhQCUbbs2tueKi2EoapMMpfxdd2xAGVTBNXQfYdrcO/VLjU
C+fqfSbJXm9zCRgBeDQ3Dxw8Y+fOOGRmWo3HgFH59lvpHV4dtkbJbUGscauJN6CN
G39dMpzzDeIiVGTGNBNKP+YbTaAtVy9GH2hbT9dW5awUKLG34Q2N4GJ9U0+MHNrx
qeddTg71KAO9Ynd2PAHlJSq8/FNJna0Vi+Qngffh98+WSId3HFrD9uvLCYf0E1Fk
+1Japr5LurNL2JU2V2GZ457yAABbpaPMPubrr+EnD9APX18uJx6UZ2p3hvUU6QpV
dV0WYxP9+GjHY+CjctmFpUizFqwM6ypWZ1GoAInBIAbvJabmp0KkW0aMD4gw6XxW
qbT0G4DVJ5YdMYoAqequXmdelQIID5apLXbex14cQokcJ0W/8zaWL2Pg/RoM6dPZ
1SPDp0hmcrpOPRmcb4+Qbz8V9OOAEr3wIagj3dqNWLS+TAJzZzV2Yn0B3DQtvTUh
da0T14h/gz27UShWYY9dz268ZzgEkoHOmBFiBXWlXfHpUvFkwag=
=CMad
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1892254.Rtz6emdoko>