Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp837619ybt; Wed, 24 Jun 2020 12:27:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylg1oL+RqwdDM5rioL1qN5aW6PQ11he77KwKFoIe5EEEINLn6CwhS5mT93pGQbJ5ps3Gvb X-Received: by 2002:a17:906:e2d5:: with SMTP id gr21mr25653747ejb.219.1593026835479; Wed, 24 Jun 2020 12:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593026835; cv=none; d=google.com; s=arc-20160816; b=VEMY64s//Y5LVnkwIQcXsrYP27cRhAOUV4hsh5w2t3WHs0L1iCpNoABhbUIH6/vh7n JdPJ+g/3bDvlHzUwDZrBT9IqztvUUtpBjTkHKGl6rIH4W8j3eOWDA+QkT9iBpps0iuvM 1pnji5XRcaGV46RxWj8nHznf7iC8pHrKsiMxF1iyPUB/AqvyOtMpPu4NiyaK95CxL6vs rI6eryiVYPXpfABlRBvbJfirNF0KX5Y2O4iMCDaeC1BLyjsH4f/UwfvVzoB0SFqeBnU9 Z2Ict+H5ranAWb32xPJZ/forUlIrPKdQBlzCssqGXz6ZZoxWByf3i7GQd+W4odtye425 RXYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=xIu++TleEqE9KPbd0HCQAeMoHm4qZFV4xZPbaDUZrbo=; b=pEib+DswELbjchGJ+Zy2Xm6s1iGj+ZZKhABfS3tiyOhBtU2l62x6JQzf3a1x5Jc28+ MoRD4CudxZD0bkcSnpbTi44ALh3wU/mgB6zEwB9TcsHTDf8mQQ4263UIEFatWfQseWtk cZBMzWmWzy3+PSQR6POii6iWJs0aVNiwBIakt1ka1VDkfMcJ78klVx0POU2uB/bQOjPi bDEe4PqEtbuF10EuhVl4+Nt+t9S+dOGDS9RAOqvIn1zjXCT7XybQRnOzYzmtGDOBLkkM giEBmBB2UROCGsYV5XUcZbuYJuuRH8NivtHktvgqFgRwKpjBTvaJhjS5CEl62hPARKQT txug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=a4OJmy8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j17si12963324ejc.223.2020.06.24.12.26.51; Wed, 24 Jun 2020 12:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=a4OJmy8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391275AbgFXT0R (ORCPT + 99 others); Wed, 24 Jun 2020 15:26:17 -0400 Received: from mail.efficios.com ([167.114.26.124]:55816 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391258AbgFXT0Q (ORCPT ); Wed, 24 Jun 2020 15:26:16 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id BDCA42C4595; Wed, 24 Jun 2020 15:26:15 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 12ShPN6Nre2U; Wed, 24 Jun 2020 15:26:15 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 7F8722C4593; Wed, 24 Jun 2020 15:26:15 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 7F8722C4593 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1593026775; bh=xIu++TleEqE9KPbd0HCQAeMoHm4qZFV4xZPbaDUZrbo=; h=Date:From:To:Message-ID:MIME-Version; b=a4OJmy8TKgGQhrrEb3rZfA7ZvDt17keJJgmi8Z2iZkeF73q5cUKB4Xw8nuS34jaAM V6ijMSdb5GN5G+r2UZ1IF0A+Od5yMIJJIHBAOkUYzVCIBDe28RnhT80xS7lG/1arAB TDyPp17UYNgcb2IHEHQ+Zxc8DQcfi46e+Rplwrd4VwUIplKGURyP5IbmfNRWYFP+95 MRw8muqGcKnJhbYyu0ZVbySg/Cb48hmLS78H38MaC1+xUcRqiYam+J/WT5KDmY9vsb E+PV57UgWiyVM35Nb9tEwH1Wvstb9hBXAdpaGsrQFlpV2OLUGJ3FU4+QG0E+YDUaIR afkb4o+bFjB0Q== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2C3oU0ZHHEFB; Wed, 24 Jun 2020 15:26:15 -0400 (EDT) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 6D8092C4608; Wed, 24 Jun 2020 15:26:15 -0400 (EDT) Date: Wed, 24 Jun 2020 15:26:15 -0400 (EDT) From: Mathieu Desnoyers To: Florian Weimer Cc: carlos , Joseph Myers , Szabolcs Nagy , libc-alpha , Thomas Gleixner , Ben Maurer , Peter Zijlstra , Paul , Boqun Feng , Will Deacon , Dave Watson , Paul Turner , Rich Felker , linux-kernel , linux-api Message-ID: <247841361.11644.1593026775351.JavaMail.zimbra@efficios.com> In-Reply-To: <87mu4s8dy8.fsf@oldenburg2.str.redhat.com> References: <20200622180803.1449-1-mathieu.desnoyers@efficios.com> <20200622180803.1449-2-mathieu.desnoyers@efficios.com> <87d05obl4w.fsf@oldenburg2.str.redhat.com> <1158112159.11628.1593025203438.JavaMail.zimbra@efficios.com> <87r1u48eix.fsf@oldenburg2.str.redhat.com> <1248023868.11643.1593026198678.JavaMail.zimbra@efficios.com> <87mu4s8dy8.fsf@oldenburg2.str.redhat.com> Subject: Re: [PATCH 1/3] glibc: Perform rseq registration at C startup and thread creation (v21) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_3945 (ZimbraWebClient - FF77 (Linux)/8.8.15_GA_3928) Thread-Topic: glibc: Perform rseq registration at C startup and thread creation (v21) Thread-Index: eETqMJEZmX/E3RrbNFD7SiZhJ6hXcw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- On Jun 24, 2020, at 3:24 PM, Florian Weimer fweimer@redhat.com wrote: > * Mathieu Desnoyers: > >>> I think we should keep things simple on the glibc side for now and do >>> this changes to the kernel headers first. >> >> Just to be sure I understand what you mean by "keep things simple", do you >> recommend removing the following lines completely for now from sys/rseq.h ? >> >> /* Ensure the compiler supports rseq_align. */ >> __rseq_static_assert (__rseq_alignof (struct rseq_cs) >= 32, "alignment"); >> __rseq_static_assert (__rseq_alignof (struct rseq) >= 32, "alignment"); > > Yes, that's what I meant. Agreed, I queued this change for my next round. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com