Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2115014ybx; Thu, 7 Nov 2019 23:42:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyOFhqipphX+wQOZnpzNUn6R6dBCGt7o+gvvhMSD6lzLJ08ynGMa4uxkjDFcEw0Fo4ASnaf X-Received: by 2002:aa7:d0d4:: with SMTP id u20mr8650920edo.112.1573198958157; Thu, 07 Nov 2019 23:42:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573198958; cv=none; d=google.com; s=arc-20160816; b=LzCjn11I76kWW54VjW2QBsFY2zEAneTY5XtVd/fE5foZf4Fzng8O3ndA5PamZKDnmj 3RWk6nA80ldf2DG/0lq2fT2MRLnMG3nQL6nfJHVOf9MbPRHl+N2ud+l0Q9jAbT9Bjo6y l1dW8M0MeN/oD0UbJW3edochFkgNMfTIMNipI/SEZRRfjkPDIjTcSx7o79YZmE3xouTo DWlTzd2XTAMLpwqAkg7DxrU5QyAIqpfVdrpJc6oCKN9usFq6/gpMtoty1JZaArFGGF1+ 3Ka+qUlBdfHVhXSQMW/Vj6XftarzCg+0d8QIMBm8sMvm12L/Gfm85aOh2qbyf4Gigov2 Jkuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=OTFfW9HQvGLEHBAUp1KYnpCkwNX8J7r1nDj0/Qrq4P0=; b=ex/YchuByLzzQx0W7SAE/BLOpr2Je3m6cCgVa3oxfo3LqG2y2QXj54aOJ9WsvQMJ4/ SpAVbm9/ToMGc3s8ticoP4CWE9VKyyRWmpIPaemVsd/l9X+RBATQqT4laseEYVze63sz SmZMXGojbsr2MAPbBVUobgmq1dXlewonzAmtwSycArIuuxh8z/3hvf/LHE+qovDiDJfQ /IwCEToH4/lA2rmPzrS0koStuR9lh7Tid75D4ire0CoLMbFujZTx2PsspbrvdD++lW7A tZBr8LIUWDCl+zYWjZDP3y8IuPNudB8/mNIUcnlmheRGfXCulrNkgOE15kufjeN6KcP3 8k8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W2JW1z0i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b19si3520388edb.40.2019.11.07.23.42.14; Thu, 07 Nov 2019 23:42:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W2JW1z0i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730135AbfKHHjC (ORCPT + 99 others); Fri, 8 Nov 2019 02:39:02 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:23788 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725975AbfKHHjB (ORCPT ); Fri, 8 Nov 2019 02:39:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573198740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OTFfW9HQvGLEHBAUp1KYnpCkwNX8J7r1nDj0/Qrq4P0=; b=W2JW1z0iwLH11yLi/Bp1N/4OCHAmGwJ3xubz5J3HssgxaA4UGfAhoWRp9uWMnlcTgvf7ce +MkUx6PQsfJ2w08XgXiDAqn2i4Ohzfd4cKnybIKGN5qdZAlLSl9x0ch+nOEntbefbLPPL+ BmwACSvPc3uiNHPFaiPAQdn16IoU7KI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-50-8W9nSN_yMsGLLGW_FTba6g-1; Fri, 08 Nov 2019 02:38:57 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A199E800C72; Fri, 8 Nov 2019 07:38:55 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-116-225.ams2.redhat.com [10.36.116.225]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4FF376084E; Fri, 8 Nov 2019 07:38:47 +0000 (UTC) From: Florian Weimer To: Thomas Gleixner Cc: LKML , Peter Zijlstra , Ingo Molnar , Darren Hart , Yi Wang , Yang Tao , Oleg Nesterov , Carlos O'Donell , Alexander Viro Subject: Re: [patch 00/12] futex: Cure robust/PI futex exit races References: <20191106215534.241796846@linutronix.de> <87zhh78gnf.fsf@oldenburg2.str.redhat.com> <87v9rv8g44.fsf@oldenburg2.str.redhat.com> Date: Fri, 08 Nov 2019 08:38:46 +0100 In-Reply-To: <87v9rv8g44.fsf@oldenburg2.str.redhat.com> (Florian Weimer's message of "Thu, 07 Nov 2019 23:40:43 +0100") Message-ID: <87o8xm95rt.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: 8W9nSN_yMsGLLGW_FTba6g-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Florian Weimer: > * Florian Weimer: > >> * Thomas Gleixner: >> >>> The series is also available from git: >>> >>> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.locking= /futex >> >> I ran the glibc upstream test suite (which has some robust futex tests) >> against b21be7e942b49168ee15a75cbc49fbfdeb1e6a97 on x86-64, both native >> and 32-bit/i386 compat mode. >> >> compat mode seems broken, nptl/tst-thread-affinity-pthread fails. This >> is probably *not* due to >> because the failu= re >> is non-sporadic, but reliable fails for thread 253: >> >> info: Detected CPU set size (in bits): 225 >> info: Maximum test CPU: 255 >> error: pthread_create for thread 253 failed: Resource temporarily unavai= lable >> >> I'm running this on a large box as root, so ulimits etc. do not apply. >> >> I did not see this failure with the x86-64 test. >> >> You should be able to reproduce with (assuming you've got a multilib gcc= ): >> >> git clone git://sourceware.org/git/glibc.git git >> mkdir build >> cd build >> ../git/configure --prefix=3D/usr CC=3D"gcc -m32" CXX=3D"g++ -m32" --buil= d=3Di686-linux >> make -j`nproc` >> make test t=3Dnptl/tst-thread-affinity-pthread > > Sorry, I realized that I didn't actually verify that this is a > regression caused by your patches. Maybe I can do that tomorrow. Confirmed as a regression caused by the patches. Depending on the nature of the bug, you need a machine which has or pretends to have many CPUs (this one has 256 CPUs). Please let me know if you need more information. Thanks, Florian