Date: Sat, 25 Sep 2021 09:18:01 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Konstantin Belousov <kib@FreeBSD.org> Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 24a3897c2c32 - main - x86 bounce_bus_dmamem_alloc(): use malloc_aligned() only when possible Message-ID: <20210925131801.b4lyozg7b56646x4@mutt-hbsd> In-Reply-To: <202109251311.18PDBVqf077216@gitrepo.freebsd.org> References: <202109251311.18PDBVqf077216@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--z6scvdiowkqgtp6u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 01:11:31PM +0000, Konstantin Belousov wrote: > The branch main has been updated by kib: >=20 > URL: https://cgit.FreeBSD.org/src/commit/?id=3D24a3897c2c3205c2ec0cf323c5= 55c403d3171e2c >=20 > commit 24a3897c2c3205c2ec0cf323c555c403d3171e2c > Author: Konstantin Belousov <kib@FreeBSD.org> > AuthorDate: 2021-09-24 17:46:47 +0000 > Commit: Konstantin Belousov <kib@FreeBSD.org> > CommitDate: 2021-09-25 12:58:12 +0000 >=20 > x86 bounce_bus_dmamem_alloc(): use malloc_aligned() only when possible > =20 > malloc_domainset_aligned() requires that alignment is less than > page size. Fall back to other allocation methods, most likely > kmem_alloc_contig(), when malloc_aligned() cannot fullfill the driver > request. > =20 > Reported by: Loic F <loic.f@hardenedbsd.org> > Reviewed by: markj > Sponsored by: The FreeBSD Foundation > MFC after: 1 week > Differential revision: https://reviews.freebsd.org/D32127 Wrong Differential revision URL? The patch in the URL doesn't match what was committed here. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --z6scvdiowkqgtp6u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmFPIYEACgkQ/y5nonf4 4fp/5A/+MGW9Urd36WzmK6VZ1JA2GaV1PHDj2d32ooI7xSKtdwYt3nbo1ssWthRf LZQreBJmDAZp0YKkJgKbXOqT0KGe9pNpgmv9blZXJkWJxK18pDu2zrUCgpE8QXUf Ki3fwMEvhpuTfOkvPWikegoAFNbPF/DmrR6jHDeURIubHJ8LrSAkJPLcXGbY1g5c q5SIpH5JM4R0Yea377yqs3lPNCL5wdeskkbzwK7Aqp09kIGcK5KFTmnxtHHUKF+L hPHjvayR0poBms/LQihetS3k54VbF/6f16ZkLVfylGSBJVXfaVs6Ng84LnfATB8g y4qYPo1FTif5PPmcDwVlgRsUahr/cy4QTbeE1N+sjPFE4rYhf+si1VYGzhffODVm t/Wr7E+9hVnIHq8CgKqmNJqI8lt4MqgevKvKZzhYpu2ERIcseV5MV/uYLYXmXQJP TM8Mlm4/E2+DwWn4UMMFd6Kd/fjVJYE8jISJJbUazfImBWF0pRKSbc2bjLYa6bZ3 3USVht/sBkYrW4NFweJIBaSiGN60AooL/sqYibnxiSbU64v/jxZwTpgvGLs5S+CI vfTPdHF5AY/+PsFGYCd0ZEg5UIA3iKIaplj+kw9MMEhDZpI3W5XaVUwmOjGjR2Qi Ga3PSAP8vPNCFkXOUy+K/r5/I9nG4VWMaowEW73n23wpQzfCKQE= =LRdr -----END PGP SIGNATURE----- --z6scvdiowkqgtp6u--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210925131801.b4lyozg7b56646x4>