From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id 87A393858D37 for ; Mon, 22 May 2023 20:10:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87A393858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-394440f483fso3606792b6e.3 for ; Mon, 22 May 2023 13:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684786242; x=1687378242; h=content-transfer-encoding:in-reply-to:organization:references:to :from:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=BACMCvKde0TTryRbqyYBeoXMRERQpZX4sZa6p1+keyc=; b=tZOpHEfRLoBY3iBn+vSAynAcPpF9s11VmHL7TBxLZ/EIOdL8Jx2yB1sMdm2ZqS2Whv fid6omFlqZ5lMguFprvxUA3bMjQdXaYsZlJT4twtSz/+UdYKiw5gwnn5yikTJS75batJ sCdU7k2RZXRaa50sf3tbV1hwqwO6Q2vVvovUtSj6whOilT7Yl9rGTNE4CfoOaslS2P5q 06FEeeTluWmFOjnZPymj8nnSGtZowXO/b8U6RxqU4RFo1lbWFXK0Bntx4gpKGdCl6kXk b28xujgGXK+Ef8KzWEvRJYwn0QM23Ye50spxXYTuZGwQtFRdEXQ3RSak1UXUHUaoQRps dR7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684786242; x=1687378242; h=content-transfer-encoding:in-reply-to:organization:references:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BACMCvKde0TTryRbqyYBeoXMRERQpZX4sZa6p1+keyc=; b=IkbiN7r8M86wLnCM4XKPBTjWlANeZHunTH57NrRcyTgQ4lVBPPN4k+YKwM/GfREfBS SHr9GqS/rozHXI2OqWCyoN0IKbXqOpR9syPOBqmuXZCZwwBoR03BE37YgckpdEO63iLL rCeJGRPmYR4PCr+6snH4qmjGEzfZALitJHzBvV35QG/FaeYPTlw7VY7LaQesRwnSbxuK 1x/Bcnmvv3XAbTed9JQPmO/A5fs8PwNuOlPndXOro6NOG2PPRI6iJIoA9GhIYpDkv1zy EyTCqhTGao86AadEGpysCRujpRMNx8kVZdEUGye8CabQX+LOqPSGJtx62xuQcxNV+KBH gplA== X-Gm-Message-State: AC+VfDxxcUEzH89ow7JUckXaLFIQRwUXKn/FOm2KAh+34VAuR73JPgaV vP6FvJtOYDkzgK/wFZMM0qJBv7y6vCPYBKvqMK2piQ== X-Google-Smtp-Source: ACHHUZ509eQwUx+ywOln55x8UzrZXg85yOSltWn9EeV+MvmOwnmqM2iJ9nFSZQtI6x3T+z8xPJkkhA== X-Received: by 2002:a05:6808:b37:b0:396:1c16:9885 with SMTP id t23-20020a0568080b3700b003961c169885mr6396986oij.33.1684786242483; Mon, 22 May 2023 13:10:42 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c0:c914:a530:d4b6:532c:752? ([2804:1b3:a7c0:c914:a530:d4b6:532c:752]) by smtp.gmail.com with ESMTPSA id fc12-20020a0568082a8c00b003923e412668sm2876084oib.50.2023.05.22.13.10.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 May 2023 13:10:41 -0700 (PDT) Message-ID: Date: Mon, 22 May 2023 17:10:39 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v6 1/1] nptl: Fix Race conditions in pthread cancellation [BZ#12683] Content-Language: en-US From: Adhemerval Zanella Netto To: libc-alpha@sourceware.org, DJ Delorie , Carlos O'Donell References: <20230519195059.2802116-1-adhemerval.zanella@linaro.org> <20230519195059.2802116-2-adhemerval.zanella@linaro.org> Organization: Linaro In-Reply-To: <20230519195059.2802116-2-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.3 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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 19/05/23 16:50, Adhemerval Zanella wrote: > The current racy approach is to enable asynchronous cancellation > before making the syscall and restore the previous cancellation > type once the syscall returns, and check if cancellation has happen > during the cancellation entrypoint. Hi DJ and Carlos, I am trying to understand why exactly this is triggering a lot of failures on buildbot [1], I did test for i686 on multiple different gcc version and on different kernels. Is there a way to replicate the buildbot environment in a platform neutral way (if this requires some specific distribution is also fine, it is just a bit more work to setup a VM)? [1] https://patchwork.sourceware.org/project/glibc/patch/20230519195059.2802116-2-adhemerval.zanella@linaro.org/