From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout.efficios.com (smtpout.efficios.com [158.69.130.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBEF5302750 for ; Fri, 20 Feb 2026 20:06:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=158.69.130.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771618013; cv=none; b=NAWi1N6f/ygDfZkbjBmHLroNy/rGqw622+BY1Z9UGne3wRb+be1O/ncGq8ArO6ACggeMttnku/+0xPzvTe50H4C0jdCPucrmiotppyThhb6UhymI82x4CqdoycGYuUJmBJr1By0+k6b4uNxpsWGdsn7XtGVWPrFGuUynM3y0rkA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771618013; c=relaxed/simple; bh=pBRXPCAMoPP6MHla6GGXxdeIzTkWlXcCjbmskgaXMWk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=scL2RrGhEaphxqmSolk/5ItzY3K8kK92RNuBVl4FdFMS4RPyK9tCROuuo+ya30+GZCuCblioyXL2iKScQifbLew7ybhlGtkIVbH84DJVG6lnnONQ8CvUu5DShhWDHHN5sKsxKDflEp7CYAYg/TU45p9L+5CgXmI1SthywqBWelo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b=o4zPiqIO; arc=none smtp.client-ip=158.69.130.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b="o4zPiqIO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=smtpout1; t=1771618006; bh=Ai+tpR3s1T+azYpPJVxL3p7i2un4wFotNdt0TqrNuBI=; h=From:To:Cc:Subject:Date:From; b=o4zPiqIOJF5lEPCKjeVjBpQcPG/uc2BAVAu9tnUoXxcwGHWyMnW1s1yN++wwrd7p8 elveBWn5lTg2GsglJbIPo4XKnbV8Mn4Vme7mU/7WHajiZeYq7UObXYIVAeLxmeF3oJ UJok3ihs2ik1Dtf3hAXfmASCvnymupBsY5XxL8kXE4bsV4kHn3SHDhcpICvdqO4cGf zIzHvl027FLp0V1nsablfdmONPpLmPjmQqUuOfmlvse5FVnXqRbdDyHBmyrb8ifN4/ mDwuYfS9z/QIGkGIEWAchQXhRzucS3vBYgcL/uFws1OBr/RGP9cTQ3B28/fNZAZQox Y9GgYmw/xGCWQ== Received: from thinkos.internal.efficios.com (mtl.efficios.com [216.120.195.104]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4fHh9232RjzGrG; Fri, 20 Feb 2026 15:06:46 -0500 (EST) From: Mathieu Desnoyers To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers , Ingo Molnar , Thomas Gleixner , Carlos O'Donell , Florian Weimer , Michael Jeanson Subject: [PATCH v3 0/2] Last minute rseq fixes for 7.0 Date: Fri, 20 Feb 2026 15:06:39 -0500 Message-Id: <20260220200642.1317826-1-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, Here are two last minute rseq fixes aiming at 7.0. The first is a clarification of a rseq registration comment to match the rseq_size range checks. The second ensures that the new scheduler slice extension field don't end up exposing a rseq feature size equal to the original rseq size, which would make life harder than it needs to be for userspace. Updates since v2: - Update comment above struct rseq in the uapi header. Thanks, Mathieu CC: Peter Zijlstra (Intel) CC: Ingo Molnar CC: Thomas Gleixner CC: Carlos O'Donell CC: Florian Weimer CC: Michael Jeanson Mathieu Desnoyers (2): rseq: Clarify rseq registration rseq_size bound check comment rseq: slice ext: Ensure rseq feature size differs from original rseq size fs/binfmt_elf.c | 3 ++- include/linux/rseq.h | 12 ++++++++++++ include/uapi/linux/rseq.h | 26 ++++++++++++++++++++++---- kernel/rseq.c | 8 +++++--- 4 files changed, 41 insertions(+), 8 deletions(-) -- 2.39.5