Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6598491ybi; Wed, 31 Jul 2019 17:45:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSSgTW9bcLhuHCrJ+L2tmkHVxBPPNrfIpDT51jhXjHL8jNa8l/4O0jkI0jF9KaexF0gIXm X-Received: by 2002:a63:6106:: with SMTP id v6mr193396pgb.36.1564620326243; Wed, 31 Jul 2019 17:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564620326; cv=none; d=google.com; s=arc-20160816; b=ltSeUr/TNaT6KI/ieCT6bV7/INgOPkFGQ+uC/QXHr5KHG9q0g1xMOZWgfrjCcMEYU5 JPhD564NuWQFiXdBzqqHLiZdtB9wQ1XxVSQGGWYEZg+7Ly+VIIdM+kScBOGFwDKZSSad KI9zIJyEOIaWgYowvHXzRzenDH02eaOCkauxZ0Wjx8vy/UoKkxl4vx2uNMF/vDXwm+7F EfzOWi4iEmgMrqUD44KFMYHlacIvU/0PcR4XkbDFQP5FYuD+uQc6SYuy4BvuT1yeR070 EzO9tqYqZ+HLruKcNbeUxZG9+z9PDBxtorQ90dmBH+pUTp8HOs+u4WTk/nAU0RFBDBik GvAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=pZtOsz9ZC2HGBBaoWhyJ6vym35XofjpvOfulqIK8Ox4=; b=qcaSyj+qHAgSHiIGN9KE5pDbZNkMQoKdhp9copHInZ3K3nepudISYQrCSbXXuqpgAB CYlwoheWcvtI2pwrC2Rj6mXDRFkGkZhanEqOdssnHT6+HJznVgm9sERmHVRDGFbGMFcS kU8d/VtC24qM3Lyu0Onhrcj7rQAMvik48BgsCjIoLrS8Ow8HEXPKSKiHSZ+evkNknSac ryVtmME5MUzefgPcFfCC2+xesnxNc4LMx2bqbOtVwE2dTx0vmCGb6TD5UxH2LiYw09EQ TWuHU52/wjDLW1BQaXIJ4uj+i7R5m1bVECpxzt3ey9bcylhwiHYO/3htdYE7UK9O216C 9YPQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si2553488pjp.74.2019.07.31.17.45.11; Wed, 31 Jul 2019 17:45:26 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727961AbfHAAl1 (ORCPT + 99 others); Wed, 31 Jul 2019 20:41:27 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:33438 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfHAAl1 (ORCPT ); Wed, 31 Jul 2019 20:41:27 -0400 Received: from pd9ef1cb8.dip0.t-ipconnect.de ([217.239.28.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hsz9l-0001ln-Kn; Thu, 01 Aug 2019 02:41:21 +0200 Date: Thu, 1 Aug 2019 02:41:20 +0200 (CEST) From: Thomas Gleixner To: Gabriel Krisman Bertazi cc: mingo@redhat.com, peterz@infradead.org, dvhart@infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH RFC 1/2] futex: Split key setup from key queue locking and read In-Reply-To: <85sgql7nok.fsf@collabora.com> Message-ID: References: <20190730220602.28781-1-krisman@collabora.com> <85sgql7nok.fsf@collabora.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 Jul 2019, Gabriel Krisman Bertazi wrote: > Thomas Gleixner writes: > > > On Tue, 30 Jul 2019, Gabriel Krisman Bertazi wrote: > > > >> split the futex key setup from the queue locking and key reading. This > >> is useful to support the setup of multiple keys at the same time, like > >> what is done in futex_requeue() and what will be done for the > > > > What has this to do with futex_requeue()? Absolutely nothing unleass you > > can reused that code there, which I doubt. > > futex_requeue is another place where more than one key is setup at a > time. Just that. I think it could be reused there, but this change is > out of scope for this patch. No it can't. And if it could, then it would be definitely in scope of this patch set to reuse functionality. Thanks, tglx