Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6631478ybi; Wed, 31 Jul 2019 18:21:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzp9t3bzUHEJASJFwJP+oSUmWojUgVSse1IgZcVynOyASDnfA6Akupfdm4BSkJJ+v4WWnZR X-Received: by 2002:a63:184b:: with SMTP id 11mr56061455pgy.112.1564622490769; Wed, 31 Jul 2019 18:21:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564622490; cv=none; d=google.com; s=arc-20160816; b=FTZaNFxdFt9jm/MW5XOqQetw2o6Hj0H0Zyvcq1W3J/OcsZcxVHngb1jWqVcf4iyJUs wpdwS9k11dWEGa1dCHppCe1wx1BO6H6MJvPFzbIa99Xu4WzBebNDKdPk1YyfmfU3yr1G G/pxyst+xgUeP5AUZxLAC9C94uefMon/DoNonETGdRyl1SiQERGxJNRFTXJnswksvN2M 8m4xfxnWt2s63HlVUl3D1o+ltNttWcgrimCWR8Qdotd5uKBHe2w6wdmD6heokST5aym8 238B22XvvNVxp+z0mTPVQMWBA9BlOw5b66HP7Pa66Lg2dmUU3xTY3YLS6+glH6KXS0VK k02A== 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:message-id :in-reply-to:date:references:organization:subject:cc:to:from; bh=UOLX7ko5/8LFo7oHPfYSXki2SRPAbH1ZkfrIMLO0zNE=; b=WXFO4Ni3Qj1L7C9HLdOmgC8lR/oF2S8DvNK24rGZIxL4M2HHniEMUZ0uWyaY9+GFJa 1ffW8bBpifsWFp1+42As8WwMUFB2Ndpvz2BxWOdFOTlENwvXpNEQ4Cx+77GTSfHzzkvb f9PeItmHWzZkIyZj4bqZiRCbBGm0h1+uY7VkVkqucVqTPdaOBMZ8ammve2nKhk0AOcL1 Txq8rBeQWisfKddmqoEZouVzLZ6Ewx42BcYf3nZHnYl31vQQurZt5dcxtNh+mxTo8Huj Gkl6XLnq69v4tHCR6iQ7kYiBUXJZrG3q5TSDPXikbBgbSpLOOaUvMbQiJCOv9b+2hOGE WbsA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i133si32837429pgc.109.2019.07.31.18.21.15; Wed, 31 Jul 2019 18:21:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727622AbfHAAIA (ORCPT + 99 others); Wed, 31 Jul 2019 20:08:00 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58380 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbfHAAIA (ORCPT ); Wed, 31 Jul 2019 20:08:00 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id 262F0287EEF From: Gabriel Krisman Bertazi To: Thomas Gleixner 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 Organization: Collabora References: <20190730220602.28781-1-krisman@collabora.com> Date: Wed, 31 Jul 2019 20:07:55 -0400 In-Reply-To: (Thomas Gleixner's message of "Thu, 1 Aug 2019 01:33:25 +0200 (CEST)") Message-ID: <85sgql7nok.fsf@collabora.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Gabriel Krisman Bertazi