From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by sourceware.org (Postfix) with ESMTPS id B5BA23858403 for ; Wed, 15 Sep 2021 15:13:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B5BA23858403 Received: by mail-lf1-x12c.google.com with SMTP id i4so6739436lfv.4 for ; Wed, 15 Sep 2021 08:13:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5iRhOrojKtssA+ks9Y89PcFdXAubIghxEbenfrxpvWY=; b=IE5N0pBYzMGzwuVGA63Vd85B2X0jJHx51P2qM88sNB+roLmt67fFdJKFxMvgXJ3z5V RjsaZHs/Yu2ov5kmyDyahjAEcAgUDg9BYH75WHlZ3kL0/j84UZ7i4Kj/lRnJuCJpDx/D tOtKkE/Gydv3p0dbMUuKrs2uauzSXjctJE2kaj7kQJDWcWUCHl2dGX/rBJfQukR8U/7P PnPOw2+Im1XLWiSAwhfO0GkMUWh32HbSdFySFpINqKfwmfBxJsEVH+upsxxDeY1HnOAD QKMvs13UjRwsA9J80uZDrxkPuMhBb5+Nl6fONvqN3LB43fHu/6KR8zHzJS5bPlkeojqp R6kw== X-Gm-Message-State: AOAM533z9ullEKcZ7XB6yawhoSBp/62xCvmWx+zgMVM5HFjetImJONXl hi3sSqqW+iyhRLjz8EBOufv0Wu55LjnoYxKYEE1/hf8T1VABww== X-Google-Smtp-Source: ABdhPJxXwu4w6amu0c4e96kNSaH1HHsQum/j873i/bPeDDK8/EpIKFljovuSbItnRS4GC2FAWz/wxREJVupTd6jW+7U= X-Received: by 2002:a05:6512:33c3:: with SMTP id d3mr353357lfg.194.1631718806400; Wed, 15 Sep 2021 08:13:26 -0700 (PDT) MIME-Version: 1.0 References: <20210907133325.255690-1-bugaevc@gmail.com> <20210907133325.255690-3-bugaevc@gmail.com> <20210914232700.sdjzmsfwbs626wqz@begin> <20210915143427.4djiwiucrgz65pru@begin> In-Reply-To: <20210915143427.4djiwiucrgz65pru@begin> From: Sergey Bugaev Date: Wed, 15 Sep 2021 18:13:15 +0300 Message-ID: Subject: Re: [PATCH htl v3 2/5] htl: Move thread table to ld.so To: Samuel Thibault Cc: libc-alpha@sourceware.org, bug-hurd Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.9 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 autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2021 15:13:29 -0000 On Wed, Sep 15, 2021 at 5:34 PM Samuel Thibault wrote: > so it's probably not > worth spending time on making a separate __libc_rwlock implementation, > and rather spend it on making pthread_rwlock use gsync, like was done > for pthread_mutex and sem Oh, it currently doesn't? That's horrifying. Then I'll look into that next. Sergey P.S. There's this other thing that is way more urgent than either eliminating gsync_wake () calls or optimizing rwlocks. I sent you an email a week ago. Please take a look.