From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 61F773858C98 for ; Mon, 26 Feb 2024 21:57:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 61F773858C98 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 61F773858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708984678; cv=none; b=l/6AbHScY/tPFTZLnJc7dWoPjr1eXcvPGnsLpt3lLpYBlouWxeAe0dqKt3gDES3X8+72KVtDaibXAfHExA9HTYL+RIsMG9Fh3ilumQ7Mv3rWNpx9P9kN9rCLcfEKCs0Wr1+1KTBT/9IQ6As38kRyM2gWqsAMNcNZhwKGHhOJdWs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708984678; c=relaxed/simple; bh=PGTI9h7f194MKVqTtRgnWVamOBYo42Yi8s4CaK6ChmI=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=h8C/hrpIVB/03bzapKbqqB6ylcP6V5VD0GJI9nqgqe6Rs25zOqMOkwtaaC1hgGj80fqaz0CJfjAazRCsF1mUjosxl/K/alk+FTj8nYCjFiOA2KJB8HWVd3fYKsn6Jv3CWjEy1Pv4p9zjaUmFMEh6JG7iQqlRyhw3eI6b2g7rF1I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708984677; 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: in-reply-to:in-reply-to:references:references; bh=TGqLbRkN6CP7VipZZF9EILEaaeXabclkcG1xfUTUMaw=; b=VK4ueFVmXWp4aFbn3nLLfP68NPFdLiTjEKH1OMB926mWWax8zXZZGehqMCGepfV7gwKv6X koO/wT1tzZOPXwb8g1JoXnn7CnMKfLxSa8KobaPFfQrt9DZ8SMwd28u5TzjCzO6C637EN9 DbsL0nKKZM4pJx0klAC6MBZlRRnvH/o= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-553-hb05y4jLP0G_cf6vSL5OWA-1; Mon, 26 Feb 2024 16:57:55 -0500 X-MC-Unique: hb05y4jLP0G_cf6vSL5OWA-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-337a9795c5cso2622577f8f.2 for ; Mon, 26 Feb 2024 13:57:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708984674; x=1709589474; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TGqLbRkN6CP7VipZZF9EILEaaeXabclkcG1xfUTUMaw=; b=Mqonw6+oPxvc7GuubErbd/F9uTdCcnJs3AIu1UpB3om2kRdBBHyMUdBBFVJPkBJ6co xSW6arQQ2RJyWXNKmFDQfiC/3Z+B38EYITbWbSWG0CyC49RKYIG6fzf9mGfz+mWQXc/u jO2NiyA5E63z/a8ccJxfJX5e9Gvf1AGyn6GPRv8RM3Fvw4XUEGO6BjMY7UtbEmfZthS+ j+4whZR7R9JbbNVF5FHtXwLHyBNs5aAc7d7Mt0eAj/5r1vV4eqyQ49B09/bytuQHbXKU +NU6vxDo5eEq7+jOc/OTidz2WOdd7nBClRn+9udnmWf31AaZVmhnfJpIotkPoYk5je8A RwHA== X-Gm-Message-State: AOJu0YyIAcYdqoF1gPng1qm7m0cqZlyzeuwBaCh7+2vCAovOqXG+oxgD dtaddj6hW4h+SCE+V9Tni/jaFhAO+nR062MvQFjFtP1n/GjYmSEwnpqbK/9dFrS8ezO55sEVqYI 2FMztwErlrP6oM34l9HshtTCv0QpO7Z4HiYDS/zboWh45+eutDXHTTj8NEPweda9ETg== X-Received: by 2002:adf:cf02:0:b0:33d:164e:5f7e with SMTP id o2-20020adfcf02000000b0033d164e5f7emr5787257wrj.26.1708984673882; Mon, 26 Feb 2024 13:57:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEosvsviMwARP2ci7f8Z9jYHYqoHMjFt6BzTL2iFfpK5IFjBerD3ckbCxDdJFtjRuiuSuGs5Q== X-Received: by 2002:adf:cf02:0:b0:33d:164e:5f7e with SMTP id o2-20020adfcf02000000b0033d164e5f7emr5787252wrj.26.1708984673541; Mon, 26 Feb 2024 13:57:53 -0800 (PST) Received: from digraph.polyomino.org.uk (digraph.polyomino.org.uk. [2001:8b0:bf73:93f7::51bb:e332]) by smtp.gmail.com with ESMTPSA id m17-20020adff391000000b0033da1c4c29csm9369548wro.91.2024.02.26.13.57.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 13:57:53 -0800 (PST) Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.95) (envelope-from ) id 1reiyQ-0016Ss-1A; Mon, 26 Feb 2024 21:57:22 +0000 Date: Mon, 26 Feb 2024 21:57:22 +0000 (UTC) From: Joseph Myers To: Florian Weimer cc: libc-alpha@sourceware.org Subject: Re: [PATCH v3 16/32] elf: Move l_tls_offset into read-write part of link map In-Reply-To: <4ec709cdae5e8bbdc2f4c14a2b030b8b21b0e11f.1701944612.git.fweimer@redhat.com> Message-ID: <724e9492-3d66-9050-922e-3213679cb16@redhat.com> References: <4ec709cdae5e8bbdc2f4c14a2b030b8b21b0e11f.1701944612.git.fweimer@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 7 Dec 2023, Florian Weimer wrote: > This field is written concurrently from the dynamic TLS lazy > allocation code, so it runs outside the main loader lock. The > protected memory allocator relies on that lock for synchronization. > > The early initialization of l_tls_offset in _dl_start is not needed. > The dynamic loader does not have ELF TLS. OK. -- Joseph S. Myers josmyers@redhat.com