Re: [PATCH v3 00/16] Introduce and use generic parity16/32/64 helper

2025-03-07 Thread Andrew Cooper
> (int)true most definitely is guaranteed to be 1. That's not technically correct any more. GCC has introduced hardened bools that intentionally have bit patterns other than 0 and 1. https://gcc.gnu.org/gcc-14/changes.html ~Andrew

Re: [PATCH 02/17] bitops: Add generic parity calculation for u64

2025-02-25 Thread Andrew Cooper
> Incidentally, in all of this, didn't anyone notice __builtin_parity()? Yes.  It it has done sane for a decade on x86, yet does things such as emitting a library call on other architectures. https://godbolt.org/z/6qG3noebq ~Andrew

Re: [PATCH 1/5] xen: add "not_essential" flag to struct xenbus_driver

2021-10-22 Thread Andrew Cooper
On 22/10/2021 07:47, Juergen Gross wrote: > When booting the xenbus driver will wait for PV devices to have > connected to their backends before continuing. The timeout is different > between essential and non-essential devices. > > Non-essential devices are identified by their nodenames directly i

Re: [patch 27/30] xen/events: Only force affinity mask for percpu interrupts

2020-12-14 Thread Andrew Cooper
On 11/12/2020 21:27, Thomas Gleixner wrote: > On Fri, Dec 11 2020 at 09:29, boris ostrovsky wrote: > >> On 12/11/20 7:37 AM, Thomas Gleixner wrote: >>> On Fri, Dec 11 2020 at 13:10, Jürgen Groß wrote: On 11.12.20 00:20, boris.ostrov...@oracle.com wrote: > On 12/10/20 2:26 PM, Thomas Gleixn

Re: [PATCH v3 4/4] xen: add helpers to allocate unpopulated memory

2020-07-28 Thread Andrew Cooper
On 28/07/2020 17:59, Roger Pau Monné wrote: > On Tue, Jul 28, 2020 at 05:48:23PM +0100, Julien Grall wrote: >> Hi, >> >> On 27/07/2020 10:13, Roger Pau Monne wrote: >>> To be used in order to create foreign mappings. This is based on the >>> ZONE_DEVICE facility which is used by persistent memory d