From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id 790843858016 for ; Thu, 14 Apr 2022 14:23:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 790843858016 Received: by mail-oi1-x231.google.com with SMTP id r8so5542180oib.5 for ; Thu, 14 Apr 2022 07:23:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=xSw6+teupw8yNPpXW9XWeu5mQ1RzMy2lHgN8fIa3pxE=; b=6NA1HU3XUfX1OdTrPUtdvLcxxdGKZ/3MrUET/d1jIrkL+yYNDarr51U1auJk+ZLOt9 Ee/qKaPC9A1KUIVQjFmfzLtRty+Gwyn15H/boH0Ke52TBm8jyEQqTt0cJVZJ7Dds8UDT B+7t9/Awn9ARP9BUf94OsurUfnpXeWR70KbBCLd+CMqH4dK1hoN/ey/cvlt8IdZgu7hP h7Ii79Flrjd6t6rdr+6pQOdXYDiSSMusYDGXBJDy/ag9lxld02pS866Pmg5cocdd2ipj yulQ8gUuw4/ftsCVzwoItxk1KiJ9TEpNGJK0IxanLlTZXYS+KgONsCSE1MsMgUXeRlhV bHvA== X-Gm-Message-State: AOAM532NJXUcXLAe5gvQ3Sd9LwwYxIIcV3gWSnrEax8m93597JpQWZPz J5UFCBPqFd6OFiBuDa8l8C5cwg== X-Google-Smtp-Source: ABdhPJxKmJ+g6dy+3XJOLQpvrP2Awsi3N77S2dpTClt9TEEMyMkqz3wAVaZxuBDMi9Qa1nZjB8SLKw== X-Received: by 2002:a05:6808:1a08:b0:2f9:a87c:f382 with SMTP id bk8-20020a0568081a0800b002f9a87cf382mr1494995oib.52.1649946192303; Thu, 14 Apr 2022 07:23:12 -0700 (PDT) Received: from ?IPV6:2804:431:c7ca:431f:3dc9:7133:8dac:5273? ([2804:431:c7ca:431f:3dc9:7133:8dac:5273]) by smtp.gmail.com with ESMTPSA id m126-20020aca3f84000000b002ef895f4bf8sm55300oia.24.2022.04.14.07.23.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Apr 2022 07:23:11 -0700 (PDT) Message-ID: <717d3eec-dbc0-d9e6-185f-a02541591c6c@linaro.org> Date: Thu, 14 Apr 2022 11:23:08 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 0/4] Move libio lock single-thread optimization to generic libc-lock Content-Language: en-US To: Florian Weimer , Adhemerval Zanella via Libc-alpha References: <20210527204457.1250196-1-adhemerval.zanella@linaro.org> <87sfqifqat.fsf@oldenburg.str.redhat.com> From: Adhemerval Zanella In-Reply-To: <87sfqifqat.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: Thu, 14 Apr 2022 14:23:16 -0000 On 12/04/2022 09:18, Florian Weimer wrote: > * Adhemerval Zanella via Libc-alpha: > >> This patchset removes some old unused code (_IO_lock_inexpensive >> and _IO_MTSAFE_IO), consolidate the stdio-lock.h and move the >> single-thread lock optimization to generic code instead of >> per-function usage. >> >> Adhemerval Zanella (4): >> libio: Assume _IO_lock_inexpensive >> libio: Assume _IO_MTSAFE_IO >> Consolidate stdio-lock.h >> Move libio lock single-thread optimization to generic libc-lock (BZ >> #27842) > > This series is still assigned to me in Patchwork. Is it still active? I think it would be a good micro-optimization and a code consolidation, although I am not sure if it still applies. If you think it would be a good addition I can work on rebase and send a new version.