From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30539 invoked by alias); 11 Jun 2018 19:55:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 30529 invoked by uid 89); 11 Jun 2018 19:55:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Subject: Re: Restartable Sequences system call merged into Linux To: Mathieu Desnoyers , Carlos O'Donell Cc: Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Thomas Gleixner , linux-kernel , libc-alpha References: <1084280721.10859.1528746558696.JavaMail.zimbra@efficios.com> From: Florian Weimer Message-ID: <31fc101a-295b-067b-1a82-7e9e509fc92f@redhat.com> Date: Mon, 11 Jun 2018 19:55:00 -0000 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: <1084280721.10859.1528746558696.JavaMail.zimbra@efficios.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-06/txt/msg00210.txt.bz2 On 06/11/2018 09:49 PM, Mathieu Desnoyers wrote: > It should be noted that there can be only one rseq TLS area registered per thread, > which can then be used by many libraries and by the executable, so this is a > process-wide (per-thread) resource that we need to manage carefully. Is it possible to resize the area after thread creation, perhaps even from other threads? If there is only one contiguous area, this generally means there needs to be linker support, similar to what we have for initial-exec TLS today. Thanks, Florian