From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cc-smtpout1.netcologne.de (cc-smtpout1.netcologne.de [IPv6:2001:4dd0:100:1062:25:2:0:1]) by sourceware.org (Postfix) with ESMTPS id A190A3858039; Sun, 17 Jan 2021 19:13:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A190A3858039 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id 5B2EA13666; Sun, 17 Jan 2021 20:13:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin1.netcologne.de (Postfix) with ESMTP id 57D6311E0F; Sun, 17 Jan 2021 20:13:20 +0100 (CET) Received: from [2001:4dd7:2366:0:404f:fe14:e36c:a144] (helo=cc-smtpin1.netcologne.de) by localhost with ESMTP (eXpurgate 4.19.0) (envelope-from ) id 60048c50-031e-7f0000012729-7f000001e41e-1 for ; Sun, 17 Jan 2021 20:13:20 +0100 Received: from linux-p51k.fritz.box (2001-4dd7-2366-0-404f-fe14-e36c-a144.ipv6dyn.netcologne.de [IPv6:2001:4dd7:2366:0:404f:fe14:e36c:a144]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA; Sun, 17 Jan 2021 20:13:18 +0100 (CET) To: "fortran@gcc.gnu.org" , gcc-patches From: Thomas Koenig Subject: [patch, coarray_native, committed] Increase initial size on Darwin Message-ID: <80ee02cc-0571-0417-1729-cd7403cad703@netcologne.de> Date: Sun, 17 Jan 2021 20:13:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------EA87AB4B0CAB992B9CF41A56" Content-Language: de-DE X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2021 19:13:24 -0000 This is a multi-part message in MIME format. --------------EA87AB4B0CAB992B9CF41A56 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello world, the patch (committed after Nicolas' OK) should make it possible to go one step further in testing with Darwin. So, it might now be possible to do another round of testing, to see if there are any other walls to hit :-) Best regards Thomas Use an initial shared memory size of 256 GB on Apple. This implements an idea that Nicolas had to overcome the Darwin problem that it is not possible to extend a shared memory segment on that system. The remedy is simple: Use a memory segment that is larger than what can reasonably be used. This should only waste a few page table entries, while providing the functionality, at least for further testing. libgfortran/ChangeLog: * caf_shared/shared_memory.c (shared_memory_init): On Apple, use an initial size of 256 GB. --------------EA87AB4B0CAB992B9CF41A56 Content-Type: text/plain; charset=UTF-8; name="p.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="p.txt" ZGlmZiAtLWdpdCBhL2xpYmdmb3J0cmFuL2NhZl9zaGFyZWQvc2hhcmVkX21lbW9yeS5jIGIv bGliZ2ZvcnRyYW4vY2FmX3NoYXJlZC9zaGFyZWRfbWVtb3J5LmMKaW5kZXggYjY0ZTQwYTNk ZWQuLjBjMGIzNmM2NjNkIDEwMDY0NAotLS0gYS9saWJnZm9ydHJhbi9jYWZfc2hhcmVkL3No YXJlZF9tZW1vcnkuYworKysgYi9saWJnZm9ydHJhbi9jYWZfc2hhcmVkL3NoYXJlZF9tZW1v cnkuYwpAQCAtMTkwLDcgKzE5MCwxNiBAQCBzaGFyZWRfbWVtb3J5X2luaXQgKHNoYXJlZF9t ZW1vcnlfYWN0ICoqcG1lbSkKIHsKICAgc2hhcmVkX21lbW9yeV9hY3QgKm1lbTsKICAgaW50 IGZkOworCisgIC8qIERhcndpbiBkb2VzIG5vdCBhcHBlYXIgdG8gYmUgYWJsZSB0byBncm93 IHNoYXJlZCBtZW1vcnkgc2VnbWVudHMuICBDaG9vc2UKKyAgICAgMjU2IEdCOyB0aGF0IHdp bGwgbGlrZWx5IGJlIGVub3VnaC4gIElmIG5vdCwgdGhlIGZ0cnVuY2F0ZSB3aWxsIGZhaWwK KyAgICAgbm9pc2lseS4gICovCisKKyNpZmRlZiBfX0FQUExFX18KKyAgc2l6ZV90IGluaXRp YWxfc2l6ZSA9ICgoc2l6ZV90KSAxKSA8PCAzODsKKyNlbHNlCiAgIHNpemVfdCBpbml0aWFs X3NpemUgPSByb3VuZF90b19wYWdlc2l6ZSAoc2l6ZW9mIChnbG9iYWxfc2hhcmVkX21lbW9y eV9tZXRhKSk7CisjZW5kaWYKIAogICBtZW0gPSBtYWxsb2MgKGdldF9zaGFyZWRfbWVtb3J5 X2FjdF9zaXplICgxKSk7CiAgIGZkID0gZ2V0X3NobWVtX2ZkICgpOwo= --------------EA87AB4B0CAB992B9CF41A56--