From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202510 header.b=X+n45RSc; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 9409A5A026F for ; Mon, 03 Nov 2025 02:43:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202510; t=1762134237; bh=lLAkeYZ//oSEgYLe4NIT+SB1IesN0MYfE6146vCRmx4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X+n45RScwXNwQqsvSHAh8A4bcjB2G3D4pQ3zYtcJMQdrzlVvb8okoNIevwNsAADEN wDoNKiKvuPZvqnIKlvtmyV87gX45QkbX/qHCKpdj2etolBPeUnr3CtcBj+trYiQjcz lc1ypk9Xv4CrN/PtnhZJt5ce/02AhHe9unJXLt3oGR7TsoyZGlMv/4YlEpIYWexFVe HBPD6RXTr0CZZ+udvgt1iQ/xWytRTC49uu8/YRzJcYh+0e6JQD6Sb2S3oZwanwYyW1 nCd30fUiVDPErZHqCrKhaspUOr35s/fh41Z6N6Km/V+spj41bHP81cThLYSRiI5h4V 8UNGvO/I/WtlQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4d0Drs41vnz4wC8; Mon, 03 Nov 2025 12:43:57 +1100 (AEDT) Date: Mon, 3 Nov 2025 12:43:53 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH 4/8] fwd: Move port exclusion handling from procfs_scan_listen() to callers Message-ID: References: <20251011044827.862757-1-david@gibson.dropbear.id.au> <20251011044827.862757-5-david@gibson.dropbear.id.au> <20251030212404.3eda9c82@elisabeth> <20251031092120.07ad0392@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gP8/GrjTsG8VxFep" Content-Disposition: inline In-Reply-To: <20251031092120.07ad0392@elisabeth> Message-ID-Hash: YSTO372XAHM22RXDR2IBAM7RDELMTWOC X-Message-ID-Hash: YSTO372XAHM22RXDR2IBAM7RDELMTWOC X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --gP8/GrjTsG8VxFep Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 31, 2025 at 09:21:20AM +0100, Stefano Brivio wrote: > On Fri, 31 Oct 2025 13:47:10 +1100 > David Gibson wrote: >=20 > > On Thu, Oct 30, 2025 at 09:24:04PM +0100, Stefano Brivio wrote: > > > On Sat, 11 Oct 2025 15:48:23 +1100 > > > David Gibson wrote: [snip] > > > > void bitmap_or(uint8_t *dst, size_t size, const uint8_t *a, const = uint8_t *b) > > > > { > > > > unsigned long *dw =3D (unsigned long *)dst; > > > > @@ -365,6 +367,27 @@ void bitmap_or(uint8_t *dst, size_t size, cons= t uint8_t *a, const uint8_t *b) > > > > dst[i] =3D a[i] | b[i]; > > > > } > > > > =20 > > > > +/** > > > > + * bitmap_andc() - Logical conjunction with complement (AND NOT) o= f bitmap =20 > > >=20 > > > Nit: this function name mixes classic logic terminology (conjunction, > > > complement) and operator names (and, not), which makes it hard to gue= ss, > > > I think. =20 > >=20 > > That's my POWER background showing: > > https://www.ibm.com/docs/en/aix/7.3.0?topic=3Dset-andc-complement-i= nstruction >=20 > I obviously don't have a POWER background but I do remember a couple of > instructions simply because I found their names hilariously dissonant > (other than finding them in whatever disassembly I was looking at). My > favourite mouthful is RLWIMI: Yes, rlwimi is fun. Along with rlwimn, and once you go 64-bit rldimi, rldicr and rldicl. They're utterly inscrutable when you first encounter them, but are super useful and natural once you get used to them. Well, rlwimi and rlwimn at least. The 64-bit bit versions are upsettingly less general, simply because there aren't enough bits in an instruction to encode true equivalents of the 32-bit versions. > https://www.ibm.com/docs/en/openxl-c-and-cpp-aix/17.1.3?topic=3Drf-rldi= mi-builtin-ppc-rldimi-rlwimi-builtin-ppc-rlwimi >=20 > but ANDC is also remarkable (cf. ANDN in the successful CISC set, > which obviously sounds like the only right choice to me). And, of course, there's "eieio". --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --gP8/GrjTsG8VxFep Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmkICNgACgkQzQJF27ox 2GeYdg//QQjj1Jfjhrj4PrZb33twwL52jsu6McGHm3dbzhxtNFy6qL7tERw/MElp ptBjlylFn2G+dhzoMR+fja336rd9Iie9AKnAcP2z4bih7mUJxUg2XYYoGB/se2u5 ToxZ/oxqY+AndYzjYbTjs+/525hQIjj8nsFKPniWIFM+MKiSN9fm2wa3bxUCWEUU h3ymCImaxhRPjar1P8dmmscRv3XUP2npDCfDpdvixVvsLgaWg7qXO1nKkBsX7pNG m8+28IoGc3NdDDCbu+Jb73/PAzVsCog9K1fiGeArk/KbELKm1eXkjndoIHybNsxC 3gene7Jt9WWzR0pDzFqnyfADEKayRi8pTqJUo99NWFzuRTOQz2WOqdSIfGdnDcdO DqnNU4e5q9SN5nnywsTcTwjaeqd1TuKWSp67+Uf/KfjYRJzVj025+/4yxehh3TAj 7yliPI/aqklPTziulBsGG1tM1a/LyG5h1LCLOgUR1C+pt0FkrPjUizRsHCU0OIoR XtqJUQ8/rHzwT+IFkl7zFnSJYb2HgFx6hYi852kGT+cNHV+MpdB9AB+8c1f9ElJp eAzWTHzwurY1zxwX1fYvVfs1OBclDGLQDjG8OIdJ9CMVO0XhjjqVeReOt4yYK5oB gR2dEYhgxLHfe8IbOK39qh8ZL8vDAAJhclYp0iexU6RXAgxVxwk= =gbPH -----END PGP SIGNATURE----- --gP8/GrjTsG8VxFep--