From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by sourceware.org (Postfix) with ESMTPS id C1C8538555A2 for ; Tue, 7 Mar 2023 09:06:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1C8538555A2 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-yw1-x1135.google.com with SMTP id 00721157ae682-536cb25982eso232544987b3.13 for ; Tue, 07 Mar 2023 01:06:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678180004; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7i1GsZgdmJ7u79hErhxY/i2YgIA0Yx1C/OPLRh3EATM=; b=Pqn8hXuNtadhBcMrUUC9oBsbhvnw0ADyGZurM6kLqZzFTc064hVC4tN9os2c0K6tV4 V80gDbxFcLNOfDTuECcI7lTUlphUERbsQVodr0c+sJthlTg+LmZPOV9Y3sBHe3DXiNVC ulWUyxERhSgBdehRUJzAAXFj8xyVdmgMmBovZTuNA5/qRWJAegBtRE4TxPAx/iQdKSGL vDYIc5wQ/Zx/teb1rglAJOB/m3ezWJEKEq8S1ywcNkt1P3asTNLZrEERcLl5B/9a85x1 4OWCoLJZhzb7rKkU2UEP/jh6hXEwa8wIAaJa4o/WiTvBouej9MbWss7fmW5gt/70AjcP /alQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678180004; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7i1GsZgdmJ7u79hErhxY/i2YgIA0Yx1C/OPLRh3EATM=; b=MHOvUKwRO5biYeH1IRw+KKZxqtO6piGlGmsOv/Td1mjx37SbUf6zBvi+uh7vzxGqxI pMfC3xO6uPvoL86krvjUTzWLPE963rt8mKy5tyv+8zw4hwP05FFHsgWkdsfQ8UopcpSw z6/2Sb75SM1tKqMa8TxdHWKg2TIn2jYZ+cIRCAkZCg4QrrNkwhdlVj3+365bJguxwTfX pXjDR7b1206xOghH24vnDY9qzrTGkO2dLJNNTjF5DK7+eJyA5C6xlpr4FmX7kKVblb4+ Dfrc5BDIM5Pgk5RMRfq90dxHEJqsiF39JC5GtuDcPrPxO8bhUsh7M3ZpB0SliRe12VDu ksLg== X-Gm-Message-State: AO0yUKWWyEG755Nab7tsXTdY0mRcGHO52B30jLQKWobcbacUf7opQ/ek 6zqaayaOJfLE31yWCBSfx7KC65JoCITPRu6wwSk= X-Google-Smtp-Source: AK7set/fljoo7Wk8Iv3pfjEDrGlw8oLdTRnx2ufLgnOqTN1wGYCTixxYM9Sia0PcG0QZVFu+dMQ0EHMLUHjHAZdkd2Q= X-Received: by 2002:a81:ae18:0:b0:52e:b22b:f99 with SMTP id m24-20020a81ae18000000b0052eb22b0f99mr8859640ywh.4.1678180004241; Tue, 07 Mar 2023 01:06:44 -0800 (PST) MIME-Version: 1.0 References: <20230307035030.437573-1-abushwangs@gmail.com> <87r0u1q6rj.fsf@oldenburg.str.redhat.com> In-Reply-To: <87r0u1q6rj.fsf@oldenburg.str.redhat.com> From: abush wang Date: Tue, 7 Mar 2023 17:06:32 +0800 Message-ID: Subject: Re: [PATCH] nptl: pthread_rwlock_rdlock return in low priority To: Florian Weimer Cc: abushwang via Libc-alpha Content-Type: multipart/alternative; boundary="00000000000005a52605f64bbbf6" X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: --00000000000005a52605f64bbbf6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Actually, i can not send mail without any change by git sendmail, so I add a empty line. This is just a mail for advisory Florian Weimer =E4=BA=8E2023=E5=B9=B43=E6=9C=887=E6=97= =A5=E5=91=A8=E4=BA=8C 16:56=E5=86=99=E9=81=93=EF=BC=9A > * abushwang via Libc-alpha: > > > diff --git a/nptl/pthread_rwlock_common.c b/nptl/pthread_rwlock_common.c > > index 5266a00ed1..35b00fc14f 100644 > > --- a/nptl/pthread_rwlock_common.c > > +++ b/nptl/pthread_rwlock_common.c > > @@ -389,6 +389,7 @@ __pthread_rwlock_rdlock_full64 (pthread_rwlock_t > *rwlock, clockid_t clockid, > > complexity. */ > > if (__glibc_likely ((r & PTHREAD_RWLOCK_WRPHASE) =3D=3D 0)) > > return 0; > > + > > /* Otherwise, if we were in a write phase (states #6 or #8), we must > wait > > for explicit hand-over of the read phase; the only exception is if > we > > can start a read phase if there is no primary writer currently. = */ > > This does not seem to be the right patch? > > Thanks, > Florian > > --00000000000005a52605f64bbbf6--