Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1953785imm; Thu, 14 Jun 2018 06:34:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJSwNr1bR66/lE4rf2HyF9FJrAyUyjT26HpwrAShGTCVXzI+u+uZICEhFU7GAVvZ7dawB1S X-Received: by 2002:a63:8f4f:: with SMTP id r15-v6mr2393229pgn.210.1528983265154; Thu, 14 Jun 2018 06:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528983265; cv=none; d=google.com; s=arc-20160816; b=JzaBW4cfQX38JE5FONTx7YSCXkHgL+Bvu1hzs41VhTyN5tBl0/iCKMnetXE9muyxaC GZ/UEgX0P4FIroXMko6i6i6ySakubiV9aj10TMchz94OrxJiyRCM1ixNJxeat6Z+cMa3 LaOtcP8iD9/+NwzBIgd0+OFH2nm0MtjT0BUdHYd7mFP6szD+1okdvfk9tln+EOJf6POr jNJuJXfFrU4xgRamhUuo3foSxnLtY+/rUwE9lXavHwpsRQv+kTKG4ezm1POLwLfaDhaX ksKUaCQQTS27kefRNGX4e6oBUtzqATX8GLESuZas8bij942/fKLjtiHrTJAoaGaZ7VP5 OYgA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=wTButCQpxFNAL0ZPjwhhy40AJxgEhxX2iQpwvqkPTuY=; b=hPFCEe3zVEAWWxcHRi5whq5ljEfQmy/HL0B2bezDPwSBrAjIgjiTqHzN/9Wmz1NPEl Z01EiQJjrCM9d4GN5JJis5ZsEZfEzX4/QRhh02PdHE4AqKJLFe21uBVzT7KkKQ1eAVTJ idYe9r8FWz/ygyuU3U49lXzipyY0eiHCVYowyBG7p+cSBJwld19XBe/Y6ZIt3xKERsjR 9X1Xv18x1OLRNGxveWBkEeWtbZpE+03j6ic+TqhkYCU7xm1u8a4Ht2pITtAQK9XYaEWt 21v2Nvp9llxwE1s3jV20U8DOLoYAzv820sRZPAp3H3jHjWkZeTBLcDy7gy+7q1PvFpAK RGjw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i65-v6si5319028pfg.218.2018.06.14.06.34.10; Thu, 14 Jun 2018 06:34:25 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755288AbeFNNcX (ORCPT + 99 others); Thu, 14 Jun 2018 09:32:23 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:51708 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754972AbeFNNcW (ORCPT ); Thu, 14 Jun 2018 09:32:22 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C6CC6818BAFD; Thu, 14 Jun 2018 13:32:21 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-117-97.ams2.redhat.com [10.36.117.97]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A8657C49; Thu, 14 Jun 2018 13:32:18 +0000 (UTC) Subject: Re: Restartable Sequences system call merged into Linux To: Pavel Machek , Mathieu Desnoyers Cc: carlos , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Thomas Gleixner , linux-kernel , libc-alpha References: <1084280721.10859.1528746558696.JavaMail.zimbra@efficios.com> <31fc101a-295b-067b-1a82-7e9e509fc92f@redhat.com> <305409897.10888.1528747473727.JavaMail.zimbra@efficios.com> <091061df-3482-8762-30e4-feaf3417be11@redhat.com> <417742741.11550.1528821084084.JavaMail.zimbra@efficios.com> <20180614122759.GB8798@amd> <894222691.12973.1528981314012.JavaMail.zimbra@efficios.com> <20180614132557.GA15201@amd> From: Florian Weimer Message-ID: <1110f198-88c2-544d-6836-f901b8e90f98@redhat.com> Date: Thu, 14 Jun 2018 15:32:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180614132557.GA15201@amd> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 14 Jun 2018 13:32:21 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 14 Jun 2018 13:32:21 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'fweimer@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/14/2018 03:25 PM, Pavel Machek wrote: > But the proposal wanted to add a syscall to thread creation, right? > And I believe that may be noticeable. We already call set_robust_list, so we could just pass a larger area to that and the kernel could use it. Then no additional system call would be needed in the common case (new kernel which recognizes the new area size). But then we cannot use an initial-exec thread local variable for it (although the offset from the thread pointer will still be constant, of course). Thanks, Florian