From patchwork Mon Aug 5 20:48:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Jeanson X-Patchwork-Id: 95335 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7C3D4385C6CD for ; Mon, 5 Aug 2024 20:54:11 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by sourceware.org (Postfix) with ESMTPS id 55CF7385DC1E for ; Mon, 5 Aug 2024 20:49:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 55CF7385DC1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 55CF7385DC1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=167.114.26.122 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722890955; cv=none; b=GblagDY21aBcEukTjItHayOCnjzY53ixeq2BsOJTOj0VHDmoAhpVWK5inWWddT6+O30ZqcAlzZ1v8i0RcqLGcfMtqoo9WobNOjBIandG0nVt3bw9M180uZNkvCeUHDFyOG+AOtI+ZTlg8IooJ14n4+MELq5D8jKGyAbQtc/f88o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722890955; c=relaxed/simple; bh=qPsYBnF32gRLZzsnFN7VpeHAfF6ekNMvuLkqY2e8DcU=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=LEzIha2HOD9acWliFKvAUwhITmLi9o7gxHDHVr8+2I3MkSwJw1K46/E5GXDFIpQupzn5QxZp81SaABeZTAQCKgOJyx3LQcmU9vdY38pRJhztNmpU6z4kFVuo6+iT58TCb035ZqNtUY0saYy3IFQ3w37Xd/Jj3za9DmuiFTKjx30= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1722890954; bh=qPsYBnF32gRLZzsnFN7VpeHAfF6ekNMvuLkqY2e8DcU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UNc7pvFL9Xxva1uAbUAQzSNOJZ+sUAlsUAO3gEhuYXrQUwLSqYodWM3zrv/bLRHv1 hZkE3GKApzAOYjZ4k+y6xyVyRheSO66pNflUTqt3oN6mv8pLSVZCv0j+i3s1PdX/du wlkgXpMjbYsd9GNE2S7NKUvZOUyDreyXXN1Ja1DJfUdg3MXgq42FWQUOC13phxbVhZ M4jkZhByr2BhquM4UZYt6tIzjqa7sl8MffM7N0GYEqV5wNBiBHwo482sn2/ZwhYfHU 8w30MORHRqLS3bhmf8QqT/rpGGTlWin2bSnVQgpOD0TWUomXPW2+zhx5b/osgjhEON EZtsYaklrqf8w== Received: from mj-deb12-aarch64-glibc.internal.efficios.com (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4Wd7pK6hDrz1GhT; Mon, 5 Aug 2024 16:49:13 -0400 (EDT) From: Michael Jeanson To: libc-alpha@sourceware.org Cc: Michael Jeanson , Florian Weimer , Carlos O'Donell , DJ Delorie , Mathieu Desnoyers Subject: [PATCH v12 17/17] Linux: Update internal copy of '' Date: Mon, 5 Aug 2024 16:48:39 -0400 Message-Id: <20240801-rseq-abi-v11-split-v12-17-0e87479dddc0@efficios.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240801-rseq-abi-v11-split-v12-0-0e87479dddc0@efficios.com> References: <20240801-rseq-abi-v11-split-v12-0-0e87479dddc0@efficios.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org Sync the internal copy of '' with the latest Linux kernel 'include/uapi/linux/rseq.h'. Signed-off-by: Michael Jeanson --- sysdeps/unix/sysv/linux/sys/rseq.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sysdeps/unix/sysv/linux/sys/rseq.h b/sysdeps/unix/sysv/linux/sys/rseq.h index b8afab8945..7f0c27fc42 100644 --- a/sysdeps/unix/sysv/linux/sys/rseq.h +++ b/sysdeps/unix/sysv/linux/sys/rseq.h @@ -152,6 +152,17 @@ struct rseq Inhibit instruction sequence block restart on migration for this thread. */ uint32_t flags; + /* Restartable sequences node_id field. Updated by the kernel. Read by + user-space with single-copy atomicity semantics. This field should only + be read by the thread which registered this data structure. Aligned on + 32-bit. Contains the current NUMA node ID. */ + uint32_t node_id; + /* Restartable sequences mm_cid field. Updated by the kernel. Read by + user-space with single-copy atomicity semantics. This field should only + be read by the thread which registered this data structure. Aligned on + 32-bit. Contains the current thread's concurrency ID (allocated + uniquely within a memory map). */ + uint32_t mm_cid; } __attribute__ ((__aligned__ (32))); #endif /* __GLIBC_HAVE_KERNEL_RSEQ */