From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by sourceware.org (Postfix) with ESMTPS id 6B82E3858D32; Mon, 8 May 2023 10:04:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B82E3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-50bc25f0c7dso8212518a12.3; Mon, 08 May 2023 03:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683540290; x=1686132290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=BPsDVyJ8IzulvYIn/o73kmM6sLGz5Tcb3An5y2o30Sg=; b=WHJPmSTN6CCe3U0wZ/4ruLiG5hdJ/wjULEi9mW4lipPj3Ee3IrDx4Lc2dDeHEr4y5K WRS3Zqa6rz/9tO3WSeexQNceV2oGBC2WlZ3Kx5E+Eaml9i0ipZmCDEH/Kd8TNmKp2q+r b/zX9EObglKFvohbh2QmJI9pTeomOwnDzE2QR2z/pNnEtp/8kwnuwJ1roRaWgFvj297w 1VTWKHVqk5ujxYAwy8XclOs7ZJZ49ktUXKLYrIjb1Pb5xwjIYDKsSsSUy9rQSyMyyQ6b BOJDPuNDwwE3Dhi1KyuSLnP3uFYuXzM9oENxp0s1sxciDwV6xC8OD2+ofoWlNloIewTs lsrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683540290; x=1686132290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BPsDVyJ8IzulvYIn/o73kmM6sLGz5Tcb3An5y2o30Sg=; b=gvG0s3M2RvF4RCwRD0pGoIQw4c8Xj5NHne6lDfxvVmDM1o/dSQwPpdQlAC795FPK1H U7zHV5v2Omxn9xL2lxiodGVrYr5fo12iZlj8SpX1sMcNjlx0X2wtjrHDpXAK8fBV9bLB y6xJAosj2i+7NmBVTeDkC1oIlQI2volCQHwfnwwUeZP2mTE1b8w7Qk/wusYniXP1s8l2 7/cFZw4GouOE9QAI0S3OpU2u9L6DIwuNk+7lQeEEhxDcgKAtmtLVdBLdbmcAWdPzbDv1 M1QjaefeaT+HzmpU8usUrewbnJIh0lmZA4FTQCIjM/1CTphrdlsok+EkBNys4GfDYPBx rQBw== X-Gm-Message-State: AC+VfDySJs0miK4IVPpOv8jUQxlhlXXCmqd34ji9HVE63WpgvsWEhPtA FRT6Z7gYMjTTvoeb7UY5cXs= X-Google-Smtp-Source: ACHHUZ4+DYw2YljOUxSd8+XbqP27hQwUqzI162JpV8gQg1Pz0VStNvTCiYy8tZ005GnZSOVqOyFc3g== X-Received: by 2002:a17:907:72d6:b0:8b1:7de3:cfaa with SMTP id du22-20020a17090772d600b008b17de3cfaamr9217557ejc.3.1683540289758; Mon, 08 May 2023 03:04:49 -0700 (PDT) Received: from nbbrfq (80-110-214-113.static.upcbusiness.at. [80.110.214.113]) by smtp.gmail.com with ESMTPSA id ib11-20020a1709072c6b00b00965ac1510f8sm4771084ejc.185.2023.05.08.03.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 03:04:49 -0700 (PDT) Date: Mon, 8 May 2023 12:04:45 +0200 From: Bernhard Reutner-Fischer To: "Zhu, Lipeng" Cc: tkoenig@netcologne.de, fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org, "Lu, Hongjiu" , "Li, Tianyou" , "Deng, Pan" , "Guo, Wangyang" Subject: Re: [PATCH v3] libgfortran: Replace mutex with rwlock Message-ID: <20230508120445.12109a08@nbbrfq> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 8 May 2023 17:31:27 +0800 "Zhu, Lipeng" wrote: > > BTW, did you look at the RELEASE semantics, respectively the note that one day (and now is that very > > day), we might improve on the release semantics? Can of course be incremental AFAIC > > > Not quite understand your question about looking at the RELEASE > semantics. Can you be more specific? libgfortran/io/io.h: could be further optimized by making this be an __ATOMIC_RELEASE, But let's defer that to a follow-up improvement independently of the rwlock. thanks,