[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v20210616 00/36] leftover from 2020


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Wed, 16 Jun 2021 17:02:38 +0200
  • Arc-authentication-results: i=1; strato.com; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1623855766; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=MxdCG8G3tmZS3gwuCaeIcp7C7dm8wsQt/HqzUW435yI=; b=RvjStZrCth4DBQ6WI4e16hH4CHpEwFv83hjbrIGAQPDpuUwaXXbNhSg9/kCoOEt82E OBgiQ4IF5W6Ai4iHeCPZQiYHuseIlgbngk6mwha8d0BpvEkRZMUHQIMMobOcWoZC4ng3 qqdsW0lo6H7Ln6PJQYRfrr7Ru4J8oR1PY8MTbX7tSr1JNiOAdpzlsI2Cdo9NDOSbxVDw faCl0IhgxY6LzPV99M+Y2thxjGr2AeK46QWi+DR0zxCWMCgDxUY/c+y228q3GRC7WDzw C+9rRWLReIU2Aj5F7f87CgS9sCmAa8GiBsQhPje+qgOH+RZ5Jj+jdLlNnQgpUm9spyw5 P9Uw==
  • Arc-seal: i=1; a=rsa-sha256; t=1623855766; cv=none; d=strato.com; s=strato-dkim-0002; b=KvW1hzRFySl5uI0enubpqYuKtCTNyuoEmbDMlpx7AGSdfH9QMeVrDvyi+69KtSfw7a 3ILiwtbqCnFJHmWKYHQtvkdICJjRN0VXzctgUxn89iLibn3gQhtqDRij/ZDo5a2gAfXs R9WVkwL4i6R6gAEI6UBZSJo4YtFNHUFYaPXsTKzQOm4T2dIWB7EoAiO3Gi9pPBF8trjX 7L88TCTEpeY+iLW++7RQ7xV4xAUw/X1UPiBR5tYzF5aHRQQNHiwO64doPoL02Ysg5sse iada6c+PxrSKHtuiAd7YyRzgxxRgiZRG3oBXNeeKPQAw5RqEDhZu+98KEfwNMN3DS/42 e/AQ==
  • Authentication-results: strato.com; dkim=none
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 16 Jun 2021 15:02:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Am Wed, 16 Jun 2021 15:50:24 +0100
schrieb Andrew Cooper <andrew.cooper3@xxxxxxxxxx>:

>          new_max |= new_max >> 32;

Lazy compiler? I hoped this is a compile-time constant, which evaluates to zero 
in 32bit builds.

    if ( sizeof(unsigned long) > 4 )                                            

I guess a #ifdef as it is done in old code must be done.

Olaf

Attachment: pgplJYqhbng2S.pgp
Description: Digitale Signatur von OpenPGP


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.